diff options
author | unknown <gkodinov/kgeorge@magare.gmz> | 2007-07-11 11:57:49 +0300 |
---|---|---|
committer | unknown <gkodinov/kgeorge@magare.gmz> | 2007-07-11 11:57:49 +0300 |
commit | 2ca32b764b97f1409dda5f648086075cab2559db (patch) | |
tree | 59e8a2b8ae66e1621ebc91c449331732c2cb907f /sql/unireg.cc | |
parent | 33e556ff5562212746011e1c1232d3dbd00f59a2 (diff) | |
parent | 1abab6c7c7461bac95afd424e80b9a953fdf897b (diff) | |
download | mariadb-git-2ca32b764b97f1409dda5f648086075cab2559db.tar.gz |
Merge magare.gmz:/home/kgeorge/mysql/work/B29325-5.0-opt
into magare.gmz:/home/kgeorge/mysql/work/B29325-5.1-opt
include/my_base.h:
Auto merged
mysql-test/t/create.test:
Auto merged
storage/myisam/ha_myisam.cc:
Auto merged
storage/myisam/mi_create.c:
Auto merged
mysql-test/r/create.result:
5.0-opt -> 5.1-opt merge
sql/set_var.cc:
5.0-opt -> 5.1-opt merge
sql/sql_class.h:
5.0-opt -> 5.1-opt merge
sql/sql_table.cc:
5.0-opt -> 5.1-opt merge
sql/unireg.cc:
5.0-opt -> 5.1-opt merge
Diffstat (limited to 'sql/unireg.cc')
-rw-r--r-- | sql/unireg.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc index 57847bc70c6..f9e8e54439a 100644 --- a/sql/unireg.cc +++ b/sql/unireg.cc @@ -355,6 +355,8 @@ int rea_create_table(THD *thd, const char *path, // Make sure mysql_create_frm din't remove extension DBUG_ASSERT(*fn_rext(frm_name)); + if (thd->variables.keep_files_on_create) + create_info->options|= HA_CREATE_KEEP_FILES; if (file->create_handler_files(path, NULL, CHF_CREATE_FLAG, create_info)) goto err_handler; if (!create_info->frm_only && ha_create_table(thd, path, db, table_name, |