summaryrefslogtreecommitdiff
path: root/storage/innobase/dict/dict0load.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/dict/dict0load.cc')
-rw-r--r--storage/innobase/dict/dict0load.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/storage/innobase/dict/dict0load.cc b/storage/innobase/dict/dict0load.cc
index 55d84bf17df..6193a8f66f5 100644
--- a/storage/innobase/dict/dict0load.cc
+++ b/storage/innobase/dict/dict0load.cc
@@ -3529,17 +3529,12 @@ dict_load_foreign(
here. The child table will be loaded later, along with its
foreign key constraint. */
- lint old_size = mem_heap_get_size(ref_table->heap);
-
ut_a(ref_table != NULL);
fk_tables.push_back(
mem_heap_strdupl(ref_table->heap,
foreign->foreign_table_name_lookup,
foreign_table_name_len));
- lint new_size = mem_heap_get_size(ref_table->heap);
- dict_sys->size += new_size - old_size;
-
dict_foreign_remove_from_cache(foreign);
DBUG_RETURN(DB_SUCCESS);
}