1
/*****************************************************************************
3
Copyright (C) 2008, 2009, Innobase Oy. All Rights Reserved.
5
This program is free software; you can redistribute it and/or modify it under
6
the terms of the GNU General Public License as published by the Free Software
7
Foundation; version 2 of the License.
9
This program is distributed in the hope that it will be useful, but WITHOUT
10
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13
You should have received a copy of the GNU General Public License along with
14
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15
St, Fifth Floor, Boston, MA 02110-1301 USA
17
*****************************************************************************/
19
/*******************************************************************//**
20
@file handler/handler0vars.h
21
This file contains accessor functions for dynamic plugin on Windows.
22
***********************************************************************/
24
#if defined __WIN__ && defined MYSQL_DYNAMIC_PLUGIN
25
/*******************************************************************//**
26
This is a list of externals that can not be resolved by delay loading.
27
They have to be resolved indirectly via their addresses in the .map file.
28
All of them are external variables. */
29
extern CHARSET_INFO* wdl_my_charset_bin;
30
extern CHARSET_INFO* wdl_my_charset_latin1;
31
extern CHARSET_INFO* wdl_my_charset_filename;
32
extern CHARSET_INFO** wdl_system_charset_info;
33
extern CHARSET_INFO** wdl_default_charset_info;
34
extern CHARSET_INFO** wdl_all_charsets;
35
extern system_variables* wdl_global_system_variables;
36
extern char* wdl_mysql_real_data_home;
37
extern char** wdl_mysql_data_home;
38
extern char** wdl_tx_isolation_names;
39
extern char* wdl_reg_ext;
40
extern pthread_mutex_t* wdl_LOCK_thread_count;
41
extern key_map* wdl_key_map_full;
42
extern MY_TMPDIR* wdl_mysql_tmpdir_list;
43
extern bool* wdl_mysqld_embedded;
44
extern uint* wdl_lower_case_table_names;
45
extern ulong* wdl_specialflag;
46
extern int* wdl_my_umask;
48
#define my_charset_bin (*wdl_my_charset_bin)
49
#define my_charset_latin1 (*wdl_my_charset_latin1)
50
#define my_charset_filename (*wdl_my_charset_filename)
51
#define system_charset_info (*wdl_system_charset_info)
52
#define default_charset_info (*wdl_default_charset_info)
53
#define all_charsets (wdl_all_charsets)
54
#define global_system_variables (*wdl_global_system_variables)
55
#define mysql_real_data_home (wdl_mysql_real_data_home)
56
#define mysql_data_home (*wdl_mysql_data_home)
57
#define tx_isolation_names (wdl_tx_isolation_names)
58
#define reg_ext (wdl_reg_ext)
59
#define LOCK_thread_count (*wdl_LOCK_thread_count)
60
#define key_map_full (*wdl_key_map_full)
61
#define mysql_tmpdir_list (*wdl_mysql_tmpdir_list)
62
#define mysqld_embedded (*wdl_mysqld_embedded)
63
#define lower_case_table_names (*wdl_lower_case_table_names)
64
#define specialflag (*wdl_specialflag)
65
#define my_umask (*wdl_my_umask)