mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
merge of 5.1-main into 5.1-maria. MyISAM changes are propagated to Maria except
those of davi.arnaut@sun.com-20090219210935-9vilvcisyyieffxl (TODO).
This commit is contained in:
@@ -1440,7 +1440,8 @@ void close_temporary_tables(THD *thd)
|
||||
if (!thd->temporary_tables)
|
||||
return;
|
||||
|
||||
if (!mysql_bin_log.is_open() || thd->current_stmt_binlog_row_based)
|
||||
if (!mysql_bin_log.is_open() ||
|
||||
(thd->current_stmt_binlog_row_based && thd->variables.binlog_format == BINLOG_FORMAT_ROW))
|
||||
{
|
||||
TABLE *tmp_next;
|
||||
for (table= thd->temporary_tables; table; table= tmp_next)
|
||||
|
||||
Reference in New Issue
Block a user