Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
N/A
-
None
-
Not for Release Notes
Description
The documentation says that keep_files_on_create variable was deprecated in 10.8, but it doesn't seem to be the case. It still can be used and works without any warnings, both as a startup option and at runtime, in the current main branch (which is 13.0 at the time of writing).
create table t (a int) engine=MyISAM; |
flush tables;
|
--remove_file $MARIADB_DATADIR/test/t.frm
|
set keep_files_on_create = ON; |
--error 1
|
create or replace table t (a int) engine=MyISAM; |
|
|
--let $restart_parameters = --keep_files_on_create=ON
|
--source include/restart_mysqld.inc
|
|
|
--error 1
|
create or replace table t (a int) engine=MyISAM; |
|
|
--let SEARCH_FILE=$MYSQLTEST_VARDIR/log/mysqld.1.err
|
--let SEARCH_PATTERN= deprecated
|
--source include/search_pattern_in_file.inc |
|
main d2803e117b15b2868a65e6289d3a4e77b891c2dd |
create table t (a int) engine=MyISAM; |
flush tables;
|
set keep_files_on_create = ON; |
create or replace table t (a int) engine=MyISAM; |
ERROR HY000: Can't create/write to file '/dev/shm/var_auto_Z0Kh/mysqld.1/data/test/t.MYI' (Errcode: 17 "File exists") |
# restart: --keep_files_on_create=ON
|
create or replace table t (a int) engine=MyISAM;
|
ERROR HY000: Can't create/write to file '/dev/shm/var_auto_Z0Kh/mysqld.1/data/test/t.MYI' (Errcode: 17 "File exists") |
NOT FOUND /deprecated/ in mysqld.1.err |