summaryrefslogtreecommitdiff
path: root/storage/innodb_plugin/dict/dict0mem.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innodb_plugin/dict/dict0mem.c')
-rw-r--r--storage/innodb_plugin/dict/dict0mem.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/innodb_plugin/dict/dict0mem.c b/storage/innodb_plugin/dict/dict0mem.c
index 1f7dd38e6f5..6458cbab92d 100644
--- a/storage/innodb_plugin/dict/dict0mem.c
+++ b/storage/innodb_plugin/dict/dict0mem.c
@@ -103,7 +103,9 @@ dict_mem_table_free(
ut_ad(table->magic_n == DICT_TABLE_MAGIC_N);
ut_d(table->cached = FALSE);
+#ifndef UNIV_HOTBACKUP
mutex_free(&(table->autoinc_mutex));
+#endif /* UNIV_HOTBACKUP */
mem_heap_free(table->heap);
}