Commit 26bf890d authored by vasil's avatar vasil

branches/zip:

Followup to r2935: add the Windows Delay Loader stuff for the MySQL
variable that we are accessing. If someday we have another solution for
Bug#40360 Binlog related errors with binlog off
then this should also be reverted.
parent 8c5b85dd
...@@ -27,6 +27,7 @@ extern bool* wdl_mysqld_embedded; ...@@ -27,6 +27,7 @@ extern bool* wdl_mysqld_embedded;
extern uint* wdl_lower_case_table_names; extern uint* wdl_lower_case_table_names;
extern ulong* wdl_specialflag; extern ulong* wdl_specialflag;
extern int* wdl_my_umask; extern int* wdl_my_umask;
extern bool* wdl_opt_bin_log;
#define my_charset_bin (*wdl_my_charset_bin) #define my_charset_bin (*wdl_my_charset_bin)
#define my_charset_latin1 (*wdl_my_charset_latin1) #define my_charset_latin1 (*wdl_my_charset_latin1)
...@@ -47,5 +48,6 @@ extern int* wdl_my_umask; ...@@ -47,5 +48,6 @@ extern int* wdl_my_umask;
#define lower_case_table_names (*wdl_lower_case_table_names) #define lower_case_table_names (*wdl_lower_case_table_names)
#define specialflag (*wdl_specialflag) #define specialflag (*wdl_specialflag)
#define my_umask (*wdl_my_umask) #define my_umask (*wdl_my_umask)
#define opt_bin_log (*wdl_opt_bin_log)
#endif #endif
...@@ -55,6 +55,7 @@ bool* wdl_mysqld_embedded; ...@@ -55,6 +55,7 @@ bool* wdl_mysqld_embedded;
uint* wdl_lower_case_table_names; uint* wdl_lower_case_table_names;
ulong* wdl_specialflag; ulong* wdl_specialflag;
int* wdl_my_umask; int* wdl_my_umask;
bool* wdl_opt_bin_log;
/*********************************************************************** /***********************************************************************
The following is defined in ha_innodb.cc. It is used for copying the The following is defined in ha_innodb.cc. It is used for copying the
...@@ -607,6 +608,8 @@ wdl_get_external_variables(void) ...@@ -607,6 +608,8 @@ wdl_get_external_variables(void)
GET_SYM("?specialflag@@3KA", wdl_specialflag, ulong); GET_SYM("?specialflag@@3KA", wdl_specialflag, ulong);
GET_SYM("?builtin_innobase_plugin@@3PAUst_mysql_plugin@@A", GET_SYM("?builtin_innobase_plugin@@3PAUst_mysql_plugin@@A",
builtin_innobase_plugin_ptr, struct st_mysql_plugin); builtin_innobase_plugin_ptr, struct st_mysql_plugin);
GET_SYM("?opt_bin_log@@3_NA",
wdl_opt_bin_log, bool);
GET_SYM2("?system_charset_info@@3PEAUcharset_info_st@@EA", GET_SYM2("?system_charset_info@@3PEAUcharset_info_st@@EA",
"?system_charset_info@@3PAUcharset_info_st@@A", "?system_charset_info@@3PAUcharset_info_st@@A",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment