diff options
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r-- | sql/sql_base.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc index c4cb7ddbc4a..e519c976aa4 100644 --- a/sql/sql_base.cc +++ b/sql/sql_base.cc @@ -1189,7 +1189,7 @@ void close_temporary_tables(THD *thd) close_temporary(table, 1, 1); } if (query && found_user_tables && mysql_bin_log.is_open() && - !binlog_row_based) // CREATE TEMP TABLE not binlogged if row-based + !thd->current_stmt_binlog_row_based) // CREATE TEMP TABLE not binlogged if row-based { /* The -1 is to remove last ',' */ thd->clear_error(); |