Details
-
Bug
-
Status: Done
-
High
-
Resolution: Fixed
-
8.0.13-3
-
None
-
None
Description
Related to PS-5124, made a comment there first but it was decided that a new bug would be better.
This is fixed for changing the variable while the server is running, but I can still start the server with "expand_fast_index_creation=ON" and have it enabled, here's how it looks:
8.0.13>show variables like 'expand_fast_index_creation'; +----------------------------+-------+ | Variable_name | Value | +----------------------------+-------+ | expand_fast_index_creation | OFF | +----------------------------+-------+ 1 row in set (0.01 sec) 8.0.13>set global expand_fast_index_creation=ON; ERROR 1238 (HY000): Variable 'expand_fast_index_creation' is a read only variable specify "--expand_fast_index_creation=ON" in startup options and restart 8.0.13>show variables like 'expand_fast_index_creation'; +----------------------------+-------+ | Variable_name | Value | +----------------------------+-------+ | expand_fast_index_creation | ON | +----------------------------+-------+ 1 row in set (0.02 sec)
which means if somebody has it enabled on 5.7 (via my.cnf) and does upgrade he will not notice that this is broken - it would be better if error is thrown at this moment.