mirror of
https://github.com/MariaDB/server.git
synced 2025-07-08 20:38:14 +02:00
![]() Before MySQL 4.0.18, user-specified constraint names were ignored. Starting with MySQL 4.0.18, the specified constraint name was prepended with the schema name and '/'. Now we are transforming into a format where the constraint name is prepended with the dict_table_t::name and the impossible UTF-8 sequence 0xff. Generated constraint names will be ASCII decimal numbers. On upgrade, old FOREIGN KEY constraint names will be displayed without any schema name prefix. They will be updated to the new format on DDL operations. dict_foreign_t::sql_id(): Return the SQL constraint name without any schemaname/tablename\377 or schemaname/ prefix. row_rename_table_for_mysql(), dict_table_rename_in_cache(): Simplify the logic: Just rename constraints to the new format. dict_table_get_foreign_id(): Replaces dict_table_get_highest_foreign_id(). innobase_get_foreign_key_info(): Let my_error() refer to erroneous anonymous constraints as "(null)". row_delete_constraint(): Try to drop all 3 constraint name variants. Reviewed by: Thirunarayanan Balathandayuthapani Tested by: Matthias Leich |
||
---|---|---|
.. | ||
federated_gcol.result | ||
gcol_archive.result | ||
gcol_blackhole.result | ||
gcol_blocked_sql_funcs_innodb.result | ||
gcol_blocked_sql_funcs_myisam.result | ||
gcol_bug20746926.result | ||
gcol_bugfixes.result | ||
gcol_column_def_options_innodb.result | ||
gcol_column_def_options_myisam.result | ||
gcol_csv.result | ||
gcol_falcon.result | ||
gcol_handler_innodb.result | ||
gcol_handler_myisam.result | ||
gcol_ins_upd_innodb.result | ||
gcol_ins_upd_myisam.result | ||
gcol_keys_innodb.result | ||
gcol_keys_myisam.result | ||
gcol_memory.result | ||
gcol_merge.result | ||
gcol_ndb.result | ||
gcol_non_stored_columns_innodb.result | ||
gcol_non_stored_columns_myisam.result | ||
gcol_partition_innodb.result | ||
gcol_partition_myisam.result | ||
gcol_purge.result | ||
gcol_rejected_innodb.result | ||
gcol_rollback.result | ||
gcol_select_innodb.result | ||
gcol_select_myisam.result | ||
gcol_supported_sql_funcs_innodb.result | ||
gcol_supported_sql_funcs_myisam.result | ||
gcol_trigger_sp_innodb.result | ||
gcol_trigger_sp_myisam.result | ||
gcol_update.result | ||
gcol_view_innodb.result | ||
gcol_view_myisam.result | ||
innodb_partition.result | ||
innodb_prefix_index_check.result | ||
innodb_virtual_basic.result | ||
innodb_virtual_blob.result | ||
innodb_virtual_debug.result | ||
innodb_virtual_debug_purge.result | ||
innodb_virtual_fk.result | ||
innodb_virtual_fk_restart.result | ||
innodb_virtual_index.result | ||
innodb_virtual_purge.result | ||
innodb_virtual_rebuild.result | ||
innodb_virtual_stats.result | ||
innodb_wl8114.result | ||
main_alter_table.result | ||
main_mysqldump.result | ||
rpl_gcol.result | ||
virtual_index_drop.result |