diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-10-30 11:40:22 +0100 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2011-10-30 12:39:37 +0100 |
commit | 338ea7617f33d975cc35f44030f522ec5d77adfb (patch) | |
tree | ec6106268a60c400e5a3bd8e47296733703bfe5f /connectivity/inc/connectivity | |
parent | 98b5910149c940a62d155014f61962ceae382911 (diff) |
Return proper UNKNOWN_RULE instead of 0 for unknown rule
also make unknown rule -1 to better separate it
Before, an unknown rule actually went to 0 == OSQLParser::select_statement
Diffstat (limited to 'connectivity/inc/connectivity')
-rw-r--r-- | connectivity/inc/connectivity/sqlnode.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/inc/connectivity/sqlnode.hxx b/connectivity/inc/connectivity/sqlnode.hxx index 69eeaba66bf0..4fd6714dd2c8 100644 --- a/connectivity/inc/connectivity/sqlnode.hxx +++ b/connectivity/inc/connectivity/sqlnode.hxx @@ -239,7 +239,7 @@ namespace connectivity between_predicate_part_2, cast_spec, rule_count, // last value - UNKNOWN_RULE // ID indicating that a node is no rule with a matching Rule-enum value (see getKnownRuleID) + UNKNOWN_RULE = -1 // ID indicating that a node is no rule with a matching Rule-enum value (see getKnownRuleID) }; // must be ascii encoding for the value |