Skip to content
Permalink
Browse files
MDEV-25506 fixup: Correct a bogus comment
Since commit 1bd681c tablespaces are
dropped after the table has been dropped. No dict_sys latch protection
is relevant during the execution of fil_delete_tablespace().
  • Loading branch information
dr-m committed Jul 29, 2021
1 parent 72764b2 commit 92046ba
Showing 1 changed file with 1 addition and 2 deletions.
@@ -3056,8 +3056,7 @@ fil_space_validate_for_mtr_commit(

/* We are serving mtr_commit(). While there is an active
mini-transaction, we should have !space->stop_new_ops. This is
guaranteed by meta-data locks or transactional locks, or
dict_sys.latch (X-lock in DROP, S-lock in purge). */
guaranteed by meta-data locks or transactional locks. */
ut_ad(!space->is_stopping()
|| space->is_being_truncated /* fil_truncate_prepare() */
|| space->referenced());

0 comments on commit 92046ba

Please sign in to comment.