mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Moved state_map copying to THD::THD().
sql/sql_lex.cc: Changed serg's fix back.
This commit is contained in:
@@ -133,6 +133,10 @@ THD::THD():user_time(0),fatal_error(0),last_insert_id_used(0),
|
||||
}
|
||||
#endif
|
||||
|
||||
// copy global state map into thread
|
||||
for(int x=0; x < 256; x++)
|
||||
state_map[x] = global_state_map[x];
|
||||
|
||||
#ifdef __WIN__
|
||||
real_id = 0 ;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user