Kaydet (Commit) ba9519e6 authored tarafından Ocke.Janssen's avatar Ocke.Janssen

dba34b: #i114617# test_for_null: wrong child asked for

üst 9ad61177
...@@ -1088,7 +1088,7 @@ sal_Bool OSingleSelectQueryComposer::setANDCriteria( OSQLParseNode * pCondition, ...@@ -1088,7 +1088,7 @@ sal_Bool OSingleSelectQueryComposer::setANDCriteria( OSQLParseNode * pCondition,
} }
else if (SQL_ISRULE(pCondition,test_for_null)) else if (SQL_ISRULE(pCondition,test_for_null))
{ {
if (SQL_ISTOKEN(pCondition->getChild(1)->getChild(2),NOT) ) if (SQL_ISTOKEN(pCondition->getChild(1)->getChild(1),NOT) )
aItem.Handle = SQLFilterOperator::NOT_SQLNULL; aItem.Handle = SQLFilterOperator::NOT_SQLNULL;
else else
aItem.Handle = SQLFilterOperator::SQLNULL; aItem.Handle = SQLFilterOperator::SQLNULL;
......
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