Commit bf2e97ca authored by mskold@mysql.com's avatar mskold@mysql.com

Added missing NOR

parent 067543c4
...@@ -6622,7 +6622,7 @@ ha_ndbcluster::build_scan_filter_group(Ndb_cond* &cond, NdbScanFilter *filter, ...@@ -6622,7 +6622,7 @@ ha_ndbcluster::build_scan_filter_group(Ndb_cond* &cond, NdbScanFilter *filter,
} }
case(Item_func::COND_OR_FUNC): { case(Item_func::COND_OR_FUNC): {
DBUG_PRINT("info", ("Generating % group", (negated)?"NOR":"OR")); DBUG_PRINT("info", ("Generating % group", (negated)?"NOR":"OR"));
if ((negated) ? filter->begin(NdbScanFilter::OR) if ((negated) ? filter->begin(NdbScanFilter::NOR)
: filter->begin(NdbScanFilter::OR) == -1) : filter->begin(NdbScanFilter::OR) == -1)
DBUG_RETURN(1); DBUG_RETURN(1);
cond= cond->next; cond= cond->next;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment