970
976
/* Remove table from the hash tables of tables */
971
977
HASH_DELETE(dict_table_t, name_hash, dict_sys->table_hash,
972
978
ut_fold_string(old_name), table);
975
989
/* Add table to hash table of tables */
976
990
HASH_INSERT(dict_table_t, name_hash, dict_sys->table_hash, fold,
980
996
/* Update the table_name field in indexes */
981
997
index = dict_table_get_first_index(table);