diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-09-27 14:29:22 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-09-27 14:29:22 +0300 |
commit | d874cdecccc4c4702e4e78bd551e72e99453021a (patch) | |
tree | 17deeec8dc1637d8e79dd42b785ce6c812b93ad7 /storage/innobase/row | |
parent | 718fcee0a30e8c4e818e9f24946fa2c2def62734 (diff) | |
download | mariadb-git-d874cdecccc4c4702e4e78bd551e72e99453021a.tar.gz |
dict_load_table(): Remove constant parameter cached=true
Spotted by Thirunarayanan Balathandayuthapani.
Diffstat (limited to 'storage/innobase/row')
-rw-r--r-- | storage/innobase/row/row0mysql.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/innobase/row/row0mysql.cc b/storage/innobase/row/row0mysql.cc index 1ecd0f7f94b..fe2a012c323 100644 --- a/storage/innobase/row/row0mysql.cc +++ b/storage/innobase/row/row0mysql.cc @@ -2671,7 +2671,7 @@ row_mysql_drop_garbage_tables() btr_pcur_store_position(&pcur, &mtr); btr_pcur_commit_specify_mtr(&pcur, &mtr); - if (dict_load_table(table_name, true, + if (dict_load_table(table_name, DICT_ERR_IGNORE_DROP)) { row_drop_table_for_mysql( table_name, trx, @@ -3198,7 +3198,7 @@ row_drop_table_from_cache( dict_table_remove_from_cache(table); - if (dict_load_table(tablename, true, DICT_ERR_IGNORE_FK_NOKEY)) { + if (dict_load_table(tablename, DICT_ERR_IGNORE_FK_NOKEY)) { ib::error() << "Not able to remove table " << ut_get_name(trx, tablename) << " from the dictionary cache!"; @@ -4576,7 +4576,7 @@ end: dict_mem_table_fill_foreign_vcol_set(table); while (!fk_tables.empty()) { - dict_load_table(fk_tables.front(), true, + dict_load_table(fk_tables.front(), DICT_ERR_IGNORE_NONE); fk_tables.pop_front(); } |