diff --git a/sql/log_event.cc b/sql/log_event.cc index 6981ce8b51e..22dcce839db 100644 --- a/sql/log_event.cc +++ b/sql/log_event.cc @@ -9210,7 +9210,7 @@ int Rows_log_event::find_key() KEY *key, *best_key; ulong best_rec_per_key, tmp; DBUG_ENTER("Rows_log_event::find_key"); - DBUG_ASSERT(m_table && m_table->in_use != NULL); + DBUG_ASSERT(m_table); best_key_nr= MAX_KEY; LINT_INIT(best_key);