MySQL  8.0.27
Source Code Documentation
client_settings.h
Go to the documentation of this file.
1 /* Copyright (c) 2003, 2021, Oracle and/or its affiliates.
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, version 2.0,
5  as published by the Free Software Foundation.
6 
7  This program is also distributed with certain software (including
8  but not limited to OpenSSL) that is licensed under separate terms,
9  as designated in a particular file or component or in included license
10  documentation. The authors of MySQL hereby grant you an additional
11  permission to link the program and your derivative works with the
12  separately licensed software that they have included with MySQL.
13 
14  This program is distributed in the hope that it will be useful,
15  but WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17  GNU General Public License, version 2.0, for more details.
18 
19  You should have received a copy of the GNU General Public License
20  along with this program; if not, write to the Free Software
21  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
22 
23 #ifndef CLIENT_SETTINGS_INCLUDED
24 #define CLIENT_SETTINGS_INCLUDED
25 #else
26 #error You have already included an client_settings.h and it should not be included twice
27 #endif /* CLIENT_SETTINGS_INCLUDED */
28 
29 #include "sql_common.h"
30 
31 /*
32  Note: CLIENT_CAPABILITIES is also defined in libmysql/client_settings.h.
33  When adding capabilities here, consider if they should be also added to
34  the libmysql version.
35 */
36 #define CLIENT_CAPABILITIES \
37  (CLIENT_LONG_PASSWORD | CLIENT_LONG_FLAG | CLIENT_TRANSACTIONS | \
38  CLIENT_PROTOCOL_41 | CLIENT_RESERVED2 | CLIENT_PLUGIN_AUTH | \
39  CLIENT_PLUGIN_AUTH_LENENC_CLIENT_DATA | CLIENT_CONNECT_ATTRS | \
40  CLIENT_SESSION_TRACK | CLIENT_DEPRECATE_EOF | CLIENT_QUERY_ATTRIBUTES | \
41  MULTI_FACTOR_AUTHENTICATION)
42 
43 #define read_user_name(A) \
44  {}
45 
46 #define read_kerberos_user_name(A) ({ false; })
47 #define mysql_server_init(a, b, c) mysql_client_plugin_init()
48 #define mysql_server_end() mysql_client_plugin_deinit()
49 
void slave_io_thread_detach_vio()
Hook to detach the active VIO before closing a connection handle.
Definition: rpl_replica.cc:8040