summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2013-07-15 13:43:15 +0200
committerVladislav Vaintroub <wlad@montyprogram.com>2013-07-15 13:43:15 +0200
commitb427da7651f348550deb886024c0d3101720f00e (patch)
tree8befa2b2d8533b75b53efee43281d815b6f9646f /sql/sql_table.cc
parent00653d7f575a42dd824d5cea638c15d4a8c56d95 (diff)
downloadmariadb-git-b427da7651f348550deb886024c0d3101720f00e.tar.gz
Fix main test suite on Windows
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 313366c7792..ef8115f8407 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -4631,7 +4631,9 @@ bool create_table_impl(THD *thd,
}
#endif /* WITH_PARTITION_STORAGE_ENGINE */
+#ifdef HAVE_READLINK
if (thd->variables.sql_mode & MODE_NO_DIR_IN_CREATE)
+#endif
{
if (create_info->data_file_name)
push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN,