~drizzle-trunk/drizzle/development

641.2.2 by Monty Taylor
InnoDB Plugin 1.0.3
1
/*****************************************************************************
2
3
Copyright (c) 2008, 2009, Innobase Oy. All Rights Reserved.
4
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.
8
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.
12
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., 59 Temple
15
Place, Suite 330, Boston, MA 02111-1307 USA
16
17
*****************************************************************************/
18
641.2.1 by Monty Taylor
InnoDB Plugin 1.0.2
19
/***********************************************************************
20
This file contains accessor functions for dynamic plugin on Windows.
21
***********************************************************************/
641.2.2 by Monty Taylor
InnoDB Plugin 1.0.3
22
641.2.1 by Monty Taylor
InnoDB Plugin 1.0.2
23
#if defined __WIN__ && defined MYSQL_DYNAMIC_PLUGIN
24
/***********************************************************************
25
This is a list of externals that can not be resolved by delay loading.
26
They have to be resolved indirectly via their addresses in the .map file.
27
All of them are external variables. */
28
extern	CHARSET_INFO*		wdl_my_charset_bin;
29
extern	CHARSET_INFO*		wdl_my_charset_latin1;
30
extern	CHARSET_INFO*		wdl_my_charset_filename;
31
extern	CHARSET_INFO**		wdl_system_charset_info;
32
extern	CHARSET_INFO**		wdl_default_charset_info;
33
extern	CHARSET_INFO**		wdl_all_charsets;
34
extern	system_variables*	wdl_global_system_variables;
35
extern	char*			wdl_mysql_real_data_home;
36
extern	char**			wdl_mysql_data_home;
37
extern	char**			wdl_tx_isolation_names;
38
extern	char**			wdl_binlog_format_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;
47
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 binlog_format_names	(wdl_binlog_format_names)
59
#define reg_ext			(wdl_reg_ext)
60
#define LOCK_thread_count	(*wdl_LOCK_thread_count)
61
#define key_map_full		(*wdl_key_map_full)
62
#define mysql_tmpdir_list	(*wdl_mysql_tmpdir_list)
63
#define mysqld_embedded		(*wdl_mysqld_embedded)
64
#define lower_case_table_names	(*wdl_lower_case_table_names)
65
#define specialflag		(*wdl_specialflag)
66
#define my_umask		(*wdl_my_umask)
67
68
#endif