summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-08-23 12:25:39 +0300
committermonty@narttu.mysql.fi <>2003-08-23 12:25:39 +0300
commite12136b4681f001d824f225824c9a7b66e86b8ed (patch)
treea50d865d5c9b01effa00055eeb1048f1bfa5095f /sql/sql_table.cc
parent5192a58140fa22af8b7da7974ddc848ca06937f2 (diff)
downloadmariadb-git-e12136b4681f001d824f225824c9a7b66e86b8ed.tar.gz
show symlinked directories in SHOW CREATE TABLE
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index c55015f7aa5..79105a94dec 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -747,7 +747,10 @@ int mysql_create_table(THD *thd,const char *db, const char *table_name,
thd->proc_info="creating table";
+ if (thd->sql_mode & MODE_NO_DIR_IN_CREATE)
+ create_info->data_file_name= create_info->index_file_name= 0;
create_info->table_options=db_options;
+
if (rea_create_table(path, create_info, fields, key_count,
key_info_buffer))
{