Added missing NOR

This commit is contained in:
mskold@mysql.com 2005-02-19 14:18:57 +01:00
parent 067543c4e8
commit bf2e97ca25

View file

@ -6622,7 +6622,7 @@ ha_ndbcluster::build_scan_filter_group(Ndb_cond* &cond, NdbScanFilter *filter,
}
case(Item_func::COND_OR_FUNC): {
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)
DBUG_RETURN(1);
cond= cond->next;