mariadb/mysql-test/suite/galera
Marko Mäkelä 08bf62213c MDEV-28933: Per-table unique FOREIGN KEY constraint names
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().

row_delete_constraint(): Try to drop all 3 constraint name variants.
2025-06-18 12:35:53 +02:00
..
include Merge 10.6 into 10.11 2025-02-10 14:45:18 +02:00
r MDEV-28933: Per-table unique FOREIGN KEY constraint names 2025-06-18 12:35:53 +02:00
t Galera mtr results updated 2025-04-03 13:20:14 +03:00
disabled.def Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
galera_2nodes.cnf Merge remote-tracking branch 'origin/11.2' into 11.4 2024-06-17 15:46:39 +04:00
galera_2nodes_as_master.cnf Merge remote-tracking branch 'origin/11.2' into 11.4 2024-06-17 15:46:39 +04:00
galera_2nodes_as_replica_2primary.cnf MDEV-34924 : gtid_slave_pos table neven been deleted on non replica nodes (wsrep_gtid_mode = 1) 2025-01-13 19:14:26 +01:00
galera_2nodes_as_slave.cnf Merge remote-tracking branch 'origin/11.2' into 11.4 2024-06-17 15:46:39 +04:00
galera_2x2nodes.cnf Merge remote-tracking branch 'origin/11.2' into 11.4 2024-06-17 15:46:39 +04:00
galera_3nodes_as_slave.cnf Merge remote-tracking branch 'origin/11.2' into 11.4 2024-06-17 15:46:39 +04:00
galera_4nodes.cnf Merge branch '11.2' into 11.4 2024-10-30 15:11:17 +01:00
my.cnf
suite.pm galera/suite.pm: perl warning 2024-04-13 16:28:13 +02:00