1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Post-merge fixes for Bug#19399 "Stored Procedures 'Lost Connection'

when dropping/creating tables"
This commit is contained in:
kostja@bodhi.local
2006-07-11 23:39:51 +04:00
parent e4598dae1f
commit 15a76619c7
6 changed files with 173 additions and 147 deletions

View File

@ -2138,9 +2138,9 @@ void reinit_stmt_before_use(THD *thd, LEX *lex)
(multi-delete). We do a full clean up, although at the moment all we
need to clean in the tables of MULTI-DELETE list is 'table' member.
*/
for (TABLE_LIST *tables= (TABLE_LIST*) lex->auxilliary_table_list.first;
for (TABLE_LIST *tables= (TABLE_LIST*) lex->auxiliary_table_list.first;
tables;
tables= tables->next)
tables= tables->next_global)
{
tables->reinit_before_use(thd);
}