summaryrefslogtreecommitdiff
path: root/internal/mapr/wherecondition.go
diff options
context:
space:
mode:
authorPaul Buetow <pbuetow@mimecast.com>2021-12-08 10:19:42 +0000
committerPaul Buetow <pbuetow@mimecast.com>2021-12-08 10:19:42 +0000
commit9a3a005c916479faef417f8e9437f2bf1b38ecdd (patch)
treeba6463e4c44eb623552bc8adfe011b78a291da6b /internal/mapr/wherecondition.go
parente70adfe0d309d511ae7598683003c92795192fe1 (diff)
add where clause integration test to dmap1, all mapreduce token fields are lower case
Diffstat (limited to 'internal/mapr/wherecondition.go')
-rw-r--r--internal/mapr/wherecondition.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/mapr/wherecondition.go b/internal/mapr/wherecondition.go
index 280dcfb..c2dd2a1 100644
--- a/internal/mapr/wherecondition.go
+++ b/internal/mapr/wherecondition.go
@@ -54,6 +54,7 @@ func (wc *whereCondition) String() string {
func makeWhereConditions(tokens []token) (where []whereCondition, err error) {
parse := func(tokens []token) (whereCondition, []token, error) {
+
var wc whereCondition
if len(tokens) < 3 {
err := errors.New(invalidQuery + "Not enough arguments in 'where' clause")