mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Merge dl145k.mysql.com:/data0/mkindahl/bkroot/mysql-4.1
into dl145k.mysql.com:/data0/mkindahl/bk/mysql-4.1-rpl
This commit is contained in:
commit
1787072458
1 changed files with 5 additions and 3 deletions
|
|
@ -499,8 +499,10 @@ void close_temporary_tables(THD *thd)
|
|||
|
||||
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);
|
||||
}
|
||||
thd->temporary_tables= 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue