Commit 0f070b0b authored by mkindahl@dl145k.mysql.com's avatar mkindahl@dl145k.mysql.com

Merge dl145k.mysql.com:/data0/mkindahl/bkroot/mysql-4.1

into  dl145k.mysql.com:/data0/mkindahl/bk/mysql-4.1-rpl
parents f83ad343 fadbdf27
...@@ -499,8 +499,10 @@ void close_temporary_tables(THD *thd) ...@@ -499,8 +499,10 @@ void close_temporary_tables(THD *thd)
if (!mysql_bin_log.is_open()) if (!mysql_bin_log.is_open())
{ {
for (table= thd->temporary_tables; table; table= table->next) TABLE *next;
for (table= thd->temporary_tables; table; table= next)
{ {
next= table->next;
close_temporary(table, 1); close_temporary(table, 1);
} }
thd->temporary_tables= 0; thd->temporary_tables= 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment