mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
fixed uninitialized pointer
This commit is contained in:
@@ -1057,6 +1057,11 @@ bool do_command(THD *thd)
|
||||
|
||||
net= &thd->net;
|
||||
thd->current_tablenr=0;
|
||||
/*
|
||||
indicator of uninitialized lex => normal flow of errors handling
|
||||
(see my_message_sql)
|
||||
*/
|
||||
thd->lex.current_select= 0;
|
||||
|
||||
packet=0;
|
||||
old_timeout=net->read_timeout;
|
||||
|
Reference in New Issue
Block a user