summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
authorsachin <sachin.setiya@mariadb.com>2018-05-14 12:15:38 +0530
committersachin <sachin.setiya@mariadb.com>2018-05-14 12:17:17 +0530
commitab7c7181f13a44c5c987b547f1ae49d41f52b367 (patch)
treec6f90630c01e7726bc15cd04c4ee1b3368082057 /sql/sql_base.cc
parentda3c5c3c9ad53eda04293e5f5ee6795197c70652 (diff)
downloadmariadb-git-bb-mdev-14472.tar.gz
MDEV-14472 Assertion `is_current_stmt_binlog_format_row()' failed...bb-mdev-14472
in THD::binlog_write_table_map try 1 patch
Diffstat (limited to 'sql/sql_base.cc')
-rw-r--r--sql/sql_base.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index e20ad15ae51..55cfb669317 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -603,10 +603,14 @@ static void mark_used_tables_as_free_for_reuse(THD *thd, TABLE *table)
table->query_id= 0;
table->file->ha_reset();
}
+ else
+ {
+ // table of exlict LOCK TABLE
+ table->file->check_table_binlog_row_based_done=
+ table->file->check_table_binlog_row_based_result= 0;
+ }
}
}
-
-
/**
Close all open instances of the table but keep the MDL lock.