MySQL 9.0.0
Source Code Documentation
client_settings.h
Go to the documentation of this file.
1/* Copyright (c) 2003, 2024, 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 designed to work 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 either included with
13 the program or referenced in the documentation.
14
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License, version 2.0, for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with this program; if not, write to the Free Software
22 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
23
24#ifndef CLIENT_SETTINGS_INCLUDED
25#define CLIENT_SETTINGS_INCLUDED
26#else
27#error You have already included an client_settings.h and it should not be included twice
28#endif /* CLIENT_SETTINGS_INCLUDED */
29
30#include "sql_common.h"
31
32/*
33 Note: CLIENT_CAPABILITIES is also defined in libmysql/client_settings.h.
34 When adding capabilities here, consider if they should be also added to
35 the libmysql version.
36*/
37#define CLIENT_CAPABILITIES \
38 (CLIENT_LONG_PASSWORD | CLIENT_LONG_FLAG | CLIENT_TRANSACTIONS | \
39 CLIENT_PROTOCOL_41 | CLIENT_RESERVED2 | CLIENT_PLUGIN_AUTH | \
40 CLIENT_PLUGIN_AUTH_LENENC_CLIENT_DATA | CLIENT_CONNECT_ATTRS | \
41 CLIENT_SESSION_TRACK | CLIENT_DEPRECATE_EOF | CLIENT_QUERY_ATTRIBUTES | \
42 MULTI_FACTOR_AUTHENTICATION)
43
44#define read_user_name(A) \
45 {}
46
47#define read_kerberos_user_name(A) ({ false; })
48#define mysql_server_init(a, b, c) mysql_client_plugin_init()
49#define mysql_server_end() mysql_client_plugin_deinit()
50
void slave_io_thread_detach_vio()
Hook to detach the active VIO before closing a connection handle.
Definition: rpl_replica.cc:8257