summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorunknown <kent@kent-amd64.(none)>2007-07-21 01:53:19 +0200
committerunknown <kent@kent-amd64.(none)>2007-07-21 01:53:19 +0200
commit47507276aa628ab51878ca36f0af47541ac04755 (patch)
tree0b56ddbf67df3ed64d453b4f68cc0e931ca79549 /sql/sql_table.cc
parent366c21fef8981a6ca3ac909eb14b75b99a0a5278 (diff)
parentd758b1e629a78e1cf58c8a04da51e3c33630368c (diff)
downloadmariadb-git-47507276aa628ab51878ca36f0af47541ac04755.tar.gz
Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/kent/bk/tmp3/mysql-5.0-build libmysql/libmysql.c: Auto merged scripts/make_binary_distribution.sh: Auto merged sql/field.cc: Auto merged
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index 87f23097a66..e02595836ca 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -2841,6 +2841,8 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST *src_table,
and temporary tables).
*/
*fn_ext(dst_path)= 0;
+ if (thd->variables.keep_files_on_create)
+ create_info->options|= HA_CREATE_KEEP_FILES;
err= ha_create_table(dst_path, create_info, 1);
if (create_info->options & HA_LEX_CREATE_TMP_TABLE)