Skip to content

Commit

Permalink
Merge 10.2 into 10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Oct 1, 2020
2 parents 323500b + d6b33ea commit d99f787
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions storage/innobase/fts/fts0opt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d99f787

Please sign in to comment.