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
14 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 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_MYSQL | \
32 CLIENT_LONG_FLAG | \
33 CLIENT_TRANSACTIONS | \
34 CLIENT_PROTOCOL_41 | \
35 CLIENT_SECURE_CONNECTION | \
36 CLIENT_PLUGIN_AUTH | \
37 CLIENT_PLUGIN_AUTH_LENENC_CLIENT_DATA | \
38 CLIENT_CONNECT_ATTRS)
39
40#define read_user_name(A) A[0]= 0
41#undef _CUSTOMCONFIG_
42
43#define mysql_server_init(a,b,c) mysql_client_plugin_init()
44#define mysql_server_end() mysql_client_plugin_deinit()
45
46#ifdef HAVE_REPLICATION
47C_MODE_START
48void slave_io_thread_detach_vio();
49C_MODE_END
50#else
51#define slave_io_thread_detach_vio()
52#endif
53
54