From b427da7651f348550deb886024c0d3101720f00e Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Mon, 15 Jul 2013 13:43:15 +0200 Subject: Fix main test suite on Windows --- sql/sql_table.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sql/sql_table.cc') 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, -- cgit v1.2.1