[patches] [bugfix 2/2] sql: regenerate parser after fixing grammar file

Bulat Niatshin niatshin at tarantool.org
Tue Feb 6 19:38:35 MSK 2018


Renerate parse.y after fixing bug with non-working 'INDEXED BY' clause
in SELECT statement.

For #2966

Signed-off-by: Bulat Niatshin <niatshin at tarantool.org>
---
 src/box/sql/parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/box/sql/parse.c b/src/box/sql/parse.c
index ae07726d1..7fe9a4d02 100644
--- a/src/box/sql/parse.c
+++ b/src/box/sql/parse.c
@@ -880,7 +880,7 @@ static const YYCODETYPE yyFallback[] = {
     0,  /*         AS => nothing */
     0,  /*      COMMA => nothing */
     0,  /*         ID => nothing */
-   51,  /*    INDEXED => ID */
+    0,  /*    INDEXED => nothing */
    51,  /*      ABORT => ID */
    51,  /*     ACTION => ID */
    51,  /*        ADD => ID */
-- 
2.14.1




More information about the Tarantool-patches mailing list