My Project
|
00001 /* Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. 00002 00003 This program is free software; you can redistribute it and/or modify 00004 it under the terms of the GNU General Public License as published by 00005 the Free Software Foundation; version 2 of the License. 00006 00007 This program is distributed in the hope that it will be useful, 00008 but WITHOUT ANY WARRANTY; without even the implied warranty of 00009 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00010 GNU General Public License for more details. 00011 00012 You should have received a copy of the GNU General Public License 00013 along with this program; if not, write to the Free Software Foundation, 00014 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA */ 00015 00016 00017 #ifndef CLIENT_SETTINGS_INCLUDED 00018 #define CLIENT_SETTINGS_INCLUDED 00019 #else 00020 #error You have already included an client_settings.h and it should not be included twice 00021 #endif /* CLIENT_SETTINGS_INCLUDED */ 00022 00023 #include <thr_alarm.h> 00024 #include <sql_common.h> 00025 00026 /* 00027 Note: CLIENT_CAPABILITIES is also defined in libmysql/client_settings.h. 00028 When adding capabilities here, consider if they should be also added to 00029 the libmysql version. 00030 */ 00031 #define CLIENT_CAPABILITIES (CLIENT_LONG_PASSWORD | \ 00032 CLIENT_LONG_FLAG | \ 00033 CLIENT_SECURE_CONNECTION | \ 00034 CLIENT_TRANSACTIONS | \ 00035 CLIENT_PROTOCOL_41 | \ 00036 CLIENT_SECURE_CONNECTION | \ 00037 CLIENT_PLUGIN_AUTH | \ 00038 CLIENT_PLUGIN_AUTH_LENENC_CLIENT_DATA | \ 00039 CLIENT_CONNECT_ATTRS) 00040 00041 #define read_user_name(A) {} 00042 #undef HAVE_SMEM 00043 #undef _CUSTOMCONFIG_ 00044 00045 #define mysql_server_init(a,b,c) mysql_client_plugin_init() 00046 #define mysql_server_end() mysql_client_plugin_deinit() 00047 00048 #ifdef HAVE_REPLICATION 00049 C_MODE_START 00050 void slave_io_thread_detach_vio(); 00051 C_MODE_END 00052 #else 00053 #define slave_io_thread_detach_vio() 00054 #endif 00055