summaryrefslogtreecommitdiff
path: root/sql/event_db_repository.cc
diff options
context:
space:
mode:
authorLuis Soares <luis.soares@sun.com>2010-02-10 16:01:31 +0000
committerLuis Soares <luis.soares@sun.com>2010-02-10 16:01:31 +0000
commit7d213e8314d210e7ef975a9743f2dfa38ff1f6a6 (patch)
tree912b2d6400869607c582535593820f78cb2eb992 /sql/event_db_repository.cc
parent9ba558302bbe95595c10175d34d4bf733da76fd7 (diff)
downloadmariadb-git-7d213e8314d210e7ef975a9743f2dfa38ff1f6a6.tar.gz
BUG#51021: current_stmt_binlog_row_based not removed in next-mr
Deployed DBUG_ASSERT before the conditional binlog format restore.
Diffstat (limited to 'sql/event_db_repository.cc')
-rw-r--r--sql/event_db_repository.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/event_db_repository.cc b/sql/event_db_repository.cc
index 50e556af84f..ff74dd0ab84 100644
--- a/sql/event_db_repository.cc
+++ b/sql/event_db_repository.cc
@@ -1097,6 +1097,7 @@ end:
if (table)
close_thread_tables(thd);
/* Restore the state of binlog format */
+ DBUG_ASSERT(!thd->is_current_stmt_binlog_format_row());
if (save_binlog_row_based)
thd->set_current_stmt_binlog_format_row();