diff options
author | gkodinov/kgeorge@magare.gmz <> | 2007-07-11 10:49:54 +0300 |
---|---|---|
committer | gkodinov/kgeorge@magare.gmz <> | 2007-07-11 10:49:54 +0300 |
commit | 015e1290a1db21e02560447ffd72238827add8f7 (patch) | |
tree | ada188315b9dd58d074fb0ee2259aa3dd1c205d7 /sql/sql_class.h | |
parent | 5b1e1eeae5f0743d8f8f01010211432a17bb04b3 (diff) | |
download | mariadb-git-015e1290a1db21e02560447ffd72238827add8f7.tar.gz |
Bug #29325:
By default MyISAM overwrites .MYD and .MYI files no
DATA DIRECTORY option is used. This can lead to two tables
using the same .MYD and .MYI files (that can't be dropped).
To prevent CREATE TABLE from overwriting a file a new option
is introduced : keep_files_on_create
When this is on the CREATE TABLE throws an error if either
the .MYD or .MYI exists for a MyISAM table.
The option is off by default (resulting in compatible behavior).
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index a5cbc21684f..112538cbe95 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -566,6 +566,7 @@ struct system_variables my_bool new_mode; my_bool query_cache_wlock_invalidate; my_bool engine_condition_pushdown; + my_bool keep_files_on_create; #ifdef HAVE_INNOBASE_DB my_bool innodb_table_locks; |