summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/kab/KStatement.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/drivers/kab/KStatement.cxx')
-rw-r--r--connectivity/source/drivers/kab/KStatement.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/connectivity/source/drivers/kab/KStatement.cxx b/connectivity/source/drivers/kab/KStatement.cxx
index a25d857e7c0e..1c5f494e083f 100644
--- a/connectivity/source/drivers/kab/KStatement.cxx
+++ b/connectivity/source/drivers/kab/KStatement.cxx
@@ -110,11 +110,11 @@ KabCondition *KabCommonStatement::analyseWhereClause(const OSQLParseNode *pParse
{
switch (pMiddle->getNodeType())
{
- case SQL_NODE_EQUAL:
+ case SQLNodeType::Equal:
// WHERE 0 = 1
return new KabConditionConstant(pLeft->getTokenValue() == pRight->getTokenValue());
- case SQL_NODE_NOTEQUAL:
+ case SQLNodeType::NotEqual:
// WHERE 0 <> 1
// (might not be correct SQL... don't care, handling anyway)
return new KabConditionConstant(pLeft->getTokenValue() != pRight->getTokenValue());
@@ -141,11 +141,11 @@ KabCondition *KabCommonStatement::analyseWhereClause(const OSQLParseNode *pParse
switch (pMiddle->getNodeType())
{
- case SQL_NODE_EQUAL:
+ case SQLNodeType::Equal:
// WHERE Name = 'Smith'
return new KabConditionEqual(sColumnName, sMatchString);
- case SQL_NODE_NOTEQUAL:
+ case SQLNodeType::NotEqual:
// WHERE Name <> 'Jones'
return new KabConditionDifferent(sColumnName, sMatchString);