summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-08-18 22:22:22 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2014-08-18 22:23:57 +0200
commit3dd12b4a5c476eac74b4de15f97e0177cde81e1f (patch)
tree3bde7a93713adf3df8a808c05ca2510df555ce49 /connectivity
parenta3a5d4fcdc66e20e0aa1addb12cbd5e0f133012e (diff)
fdo#82427 disambiguate "NOT LIKE 'foo'"
Change-Id: Iab383639ea73cc87c03f4f42433bc9ccfcd988ef
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/parse/sqlbison.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y
index 790f27ed4b20..5d2e1838fb81 100644
--- a/connectivity/source/parse/sqlbison.y
+++ b/connectivity/source/parse/sqlbison.y
@@ -1124,8 +1124,8 @@ parenthesized_boolean_value_expression:
}
;
boolean_factor:
- boolean_primary
- | SQL_TOKEN_NOT boolean_primary
+ boolean_primary %dprec 2
+ | SQL_TOKEN_NOT boolean_primary %dprec 1
{ // boolean_factor: rule 1
$$ = SQL_NEW_RULE;
$$->append($1);