summaryrefslogtreecommitdiff
path: root/sql/sql_base.cc
diff options
context:
space:
mode:
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.