• unknown's avatar
    Bug#19207: Final parenthesis omitted for CREATE INDEX in Stored Procedure · 7733615d
    unknown authored
    Wrong criteria was used to distinguish the case when there was no
    lookahead performed in the parser.  Bug affected only statements
    ending in one-character token without any optional tail, like CREATE
    INDEX and CALL.
    
    
    mysql-test/r/sp-code.result:
      Add result for bug#19207: Final parenthesis omitted for CREATE INDEX
      in Stored Procedure
    mysql-test/t/sp-code.test:
      Add test case for bug#19207: Final parenthesis omitted for CREATE INDEX
      in Stored Procedure
    sql/sql_yacc.yy:
      Use (yychar == YYEMPTY) as the criteria of whether lookahead was not
      performed.
    7733615d
sp-code.test 5.45 KB