MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
client_settings.h
1 /* Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved.
2 
3  This program is free software; you can redistribute it and/or modify
4  it under the terms of the GNU General Public License as published by
5  the Free Software Foundation; version 2 of the License.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  GNU General Public License for more details.
11 
12  You should have received a copy of the GNU General Public License
13  along with this program; if not, write to the Free Software Foundation,
14  51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA */
15 
16 
17 #ifndef CLIENT_SETTINGS_INCLUDED
18 #define CLIENT_SETTINGS_INCLUDED
19 #else
20 #error You have already included an client_settings.h and it should not be included twice
21 #endif /* CLIENT_SETTINGS_INCLUDED */
22 
23 #include <thr_alarm.h>
24 #include <sql_common.h>
25 
26 /*
27  Note: CLIENT_CAPABILITIES is also defined in libmysql/client_settings.h.
28  When adding capabilities here, consider if they should be also added to
29  the libmysql version.
30 */
31 #define CLIENT_CAPABILITIES (CLIENT_LONG_PASSWORD | \
32  CLIENT_LONG_FLAG | \
33  CLIENT_SECURE_CONNECTION | \
34  CLIENT_TRANSACTIONS | \
35  CLIENT_PROTOCOL_41 | \
36  CLIENT_SECURE_CONNECTION | \
37  CLIENT_PLUGIN_AUTH | \
38  CLIENT_PLUGIN_AUTH_LENENC_CLIENT_DATA | \
39  CLIENT_CONNECT_ATTRS)
40 
41 #define read_user_name(A) {}
42 #undef HAVE_SMEM
43 #undef _CUSTOMCONFIG_
44 
45 #define mysql_server_init(a,b,c) mysql_client_plugin_init()
46 #define mysql_server_end() mysql_client_plugin_deinit()
47 
48 #ifdef HAVE_REPLICATION
49 C_MODE_START
50 void slave_io_thread_detach_vio();
51 C_MODE_END
52 #else
53 #define slave_io_thread_detach_vio()
54 #endif
55