mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Added SQL_ANSI_MODE.
Docs/manual.texi: Added News section for 3.23.35, and change notes for SQL_ANSI_MODE. sql/gen_lex_hash.cc: Fixed typo. Updated the values, so the parser can be created. sql/mysql_priv.h: Added ``global_state_map'' from sql_lex.cc. sql/sql_class.h: Added ``state_map'' to THD. This is a per-thread state map for lex. sql/sql_lex.cc: Renamed ``state_map'' to ``global_state_map''. Changed yylex() to use the new per-thread state map. sql/sql_parse.cc: Copy global_state_map into thd->state_map on thread start. sql/sql_yacc.yy: Added SQL_ANSI_MODE. Cleaned up some.
This commit is contained in:
@ -512,6 +512,10 @@ pthread_handler_decl(handle_one_connection,arg)
|
||||
return 0;
|
||||
}
|
||||
|
||||
// copy global state map into thread
|
||||
for(int x=0; x < 256; x++)
|
||||
thd->state_map[x] = global_state_map[x];
|
||||
|
||||
do
|
||||
{
|
||||
int error;
|
||||
|
Reference in New Issue
Block a user