1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-4902 - sql_yacc.yy incompatible with bison 3

- YYPARSE_PARAM and YYLEX_PARAM are removed in Bison 3.0. Deprecated
  since Bison 1.875 in favor of %lex-param, %parse-param.
- %parse-param adds an argument to yyerror() as well, updated
  MYSQLerror() accordingly.
- %parse-param allows to declare proper type for argument. That's
  what 99% of this patch is about.
This commit is contained in:
Sergey Vojtovich
2013-08-30 11:00:29 +04:00
parent 59af095da4
commit 6fc98018a4
4 changed files with 376 additions and 476 deletions

View File

@ -7602,7 +7602,7 @@ bool check_host_name(LEX_STRING *str)
}
extern int MYSQLparse(void *thd); // from sql_yacc.cc
extern int MYSQLparse(THD *thd); // from sql_yacc.cc
/**