summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2016-02-17 21:42:48 +0100
committerSergei Golubchik <serg@mariadb.org>2016-02-17 21:42:48 +0100
commit3eb8b1125f0c4d9373273cc98d7197cf7f5c2ef1 (patch)
tree55622d7d07483090ffa6875b41b386c839e4f9db
parent289fe3720e9467d84cf86fd76d52cc481916d884 (diff)
downloadmariadb-git-3eb8b1125f0c4d9373273cc98d7197cf7f5c2ef1.tar.gz
fix InnoDB on Windows
-rw-r--r--storage/innobase/handler/ha_innodb.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc
index 1c04826ab28..bcd8a8890f8 100644
--- a/storage/innobase/handler/ha_innodb.cc
+++ b/storage/innobase/handler/ha_innodb.cc
@@ -33,6 +33,8 @@ this program; if not, write to the Free Software Foundation, Inc.,
*****************************************************************************/
+#define lower_case_file_system lower_case_file_system_server
+#define mysql_unpacked_real_data_home mysql_unpacked_real_data_home_server
#include <sql_table.h> // explain_filename, nz2, EXPLAIN_PARTITIONS_AS_COMMENT,
// EXPLAIN_FILENAME_MAX_EXTRA_LENGTH
@@ -44,6 +46,11 @@ this program; if not, write to the Free Software Foundation, Inc.,
#include <table_cache.h>
#include <my_check_opt.h>
+#undef lower_case_file_system
+#undef mysql_unpacked_real_data_home
+MYSQL_PLUGIN_IMPORT extern my_bool lower_case_file_system;
+MYSQL_PLUGIN_IMPORT extern char mysql_unpacked_real_data_home[];
+
#ifdef _WIN32
#include <io.h>
#endif