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

Bulat Niatshin niatshin at tarantool.org
Mon Mar 5 15:22:13 MSK 2018


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

For #2996
---
 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 0019b77dc..3b035c61a 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