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