mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
b75090c7de
generate_derived_keys_for_table() did not work correctly in the case where - it had a potential index on derived table - however, TABLE::check_tmp_key() would disallow creation of this index after looking at its future key parts (because of the key parts exceeding max. index length) - the code would leave a KEYUSE structure that refers to a non-existant index. Depending on further optimizer calculations, this could cause a crash.
1 line
8 B
Text
1 line
8 B
Text
--debug
|