From 3dd12b4a5c476eac74b4de15f97e0177cde81e1f Mon Sep 17 00:00:00 2001 From: Lionel Elie Mamane Date: Mon, 18 Aug 2014 22:22:22 +0200 Subject: fdo#82427 disambiguate "NOT LIKE 'foo'" Change-Id: Iab383639ea73cc87c03f4f42433bc9ccfcd988ef --- connectivity/source/parse/sqlbison.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'connectivity') 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); -- cgit