1
0
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:
unknown
2003-07-01 19:05:08 +03:00
parent e559d87b86
commit 69df67fbcf
2 changed files with 11 additions and 1 deletions

View File

@@ -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;