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:
@ -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
|
||||
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user