Skip to content

Commit d2742f1

Browse files
committed
BUG#34380370 truncate table not free mutex in some case
release mutex on all return paths in truncate_t::truncate Change-Id: I5aeee262503db191ced7773d2456bd32d7007c53
1 parent e4f7902 commit d2742f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/innobase/fil/fil0fil.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7196,6 +7196,7 @@ truncate_t::truncate(
71967196
ib::error() << "Failed to open tablespace file "
71977197
<< path << ".";
71987198

7199+
mutex_exit(&fil_system->mutex);
71997200
ut_free(path);
72007201

72017202
return(DB_ERROR);

0 commit comments

Comments
 (0)