mirror of
https://github.com/MariaDB/server.git
synced 2025-11-27 05:41:41 +03:00
A sequel to9180e86and149b754. ALTER TABLE ... ADD FOREIGN KEY may crash if parent table is updated concurrently. Block FK parent table updates even earlier, before intermediate child table is created. Use proper charset info for my_casedn_str() and don't update original identifiers so that lower_cast_table_names == 2 is honoured.