Commit d99f7872 authored by Marko Mäkelä's avatar Marko Mäkelä

Merge 10.2 into 10.3

parents 323500bf d6b33ea2
......@@ -2604,9 +2604,13 @@ fts_optimize_remove_table(
os_event_destroy(event);
ut_d(mutex_enter(&fts_optimize_wq->mutex));
ut_ad(!table->fts->in_queue);
ut_d(mutex_exit(&fts_optimize_wq->mutex));
#ifdef UNIV_DEBUG
if (!fts_opt_start_shutdown) {
mutex_enter(&fts_optimize_wq->mutex);
ut_ad(!table->fts->in_queue);
mutex_exit(&fts_optimize_wq->mutex);
}
#endif /* UNIV_DEBUG */
}
/** Send sync fts cache for the table.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment