Hello community, here is the log from the commit of package mariadb-connector-odbc for openSUSE:Factory checked in at 2017-12-01 15:53:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mariadb-connector-odbc (Old) and /work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mariadb-connector-odbc" Fri Dec 1 15:53:26 2017 rev:1 rq:544612 version:3.0.2 Changes: -------- New Changes file: --- /dev/null 2017-10-14 16:26:57.428140955 +0200 +++ /work/SRC/openSUSE:Factory/.mariadb-connector-odbc.new/mariadb-connector-odbc.changes 2017-12-01 15:53:27.776415345 +0100 @@ -0,0 +1,58 @@ +------------------------------------------------------------------- +Sun Nov 19 07:36:34 UTC 2017 - mplus...@suse.com + +- Use more cmake macros +- Run spec-cleaner + +------------------------------------------------------------------- +Fri Nov 17 14:07:35 UTC 2017 - adam.ma...@suse.de + +- New upstream version 3.0.2 + * first stable version of MariaDB Connector/ODBC 3.0 + * fixed number of memory leaks +- Refreshed patches: + * missing_includes.patch + * package_name.patch +- Removed upstreamed patches: + * fix_bool_return_types.patch + * no_static_linking.patch +- missing_libs.patch: Add missing -lpthread dependency +- nosoname.patch: libmaodbc.so is an ODBC driver, not a normal + library. Remove soname generation. + +------------------------------------------------------------------- +Thu Jul 13 12:21:40 UTC 2017 - adam.ma...@suse.de + +- New upstream version 2.0.15: + * fix crash in ODBC Driver SQLExecDirect() + * fix batch query with non-preparable statement crashed + * fix backslash at the end of string in one of statements in + multistatement query leads to error +- Changes in version 2.0.14: + * SQLGetData now correctly handles UTF-16 surrogate pairs + * Execution of 'ANALYZE TABLE' statement used to invalidate + statement and connection handles + * SQLGetData would not return SQL_NO_DATA for BLOB/TEXT columns + if the buffer size is larger than the column data + * Min and Max value for time data type were processed incorrectly + * fixed Error in the SQLGetTypeInfo for WCHAR Types + * SQLBulkOperations/SQLSetPos SQL_ADD would fail if TIMESTAMP + column ignored + +------------------------------------------------------------------- +Wed Mar 29 14:37:55 UTC 2017 - adam.ma...@suse.de + +- Add sample_odbc.ini file to documentation directory. + +------------------------------------------------------------------- +Thu Mar 23 11:04:18 UTC 2017 - adam.ma...@suse.de + +- Initial package of MariaDB Connector/ODBC 2.0.13 +- fix_bool_return_types.patch: use only supported data types +- missing_includes.patch: missing headers added +- no_static_linking.patch: dynamically link with the private + symbols library. +- package_name.patch: set package name to SUSE package name + so we don't have to move files around after install or change + library names. + New: ---- DSN_names.patch README mariadb-connector-odbc-3.0.2-ga-src.tar.gz mariadb-connector-odbc-3.0.2-ga-src.tar.gz.asc mariadb-connector-odbc.changes mariadb-connector-odbc.spec missing_includes.patch missing_libs.patch nosoname.patch package_name.patch sample_odbc.ini ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mariadb-connector-odbc.spec ++++++ # # spec file for package mariadb-connector-odbc # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: mariadb-connector-odbc Version: 3.0.2 Release: 0 Summary: MariaDB ODBC Connector License: LGPL-2.1+ Group: Productivity/Databases/Tools URL: https://downloads.mariadb.org/connector-odbc/ Source: https://downloads.mariadb.org/interstitial/connector-odbc-%{version}/mariadb-connector-odbc-%{version}-ga-src.tar.gz # signature is from copy/pasted stuff found on the download page, not actual file Source1: mariadb-connector-odbc-%{version}-ga-src.tar.gz.asc Source2: README Source3: sample_odbc.ini Patch3: missing_includes.patch Patch5: package_name.patch Patch6: DSN_names.patch Patch7: missing_libs.patch Patch8: nosoname.patch BuildRequires: cmake > 3.5.0 # BuildRequires: libmysqlclient-devel BuildRequires: gcc-c++ # This is actually MariaDB -devel package(s) BuildRequires: libmariadb-devel BuildRequires: libmariadbprivate BuildRequires: unixODBC-devel %description This package contains the MariaDB ODBC Connector to be used with unixODBC. %prep %setup -q -n mariadb-connector-odbc-%{version}-ga-src %patch3 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %patch8 -p1 %build CFLAGS+=-std=gnu11 %cmake \ -DWITH_UNIXODBC=1 \ -DMARIADB_LINK_DYNAMIC=1 %make_jobs %install %cmake_install install -Dpm 0644 %{SOURCE2} %{SOURCE3} \ %{buildroot}%{_docdir}/%{name} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc COPYING %{_libdir}/libmaodbc.so %{_docdir}/%{name}/README %{_docdir}/%{name}/sample_odbc.ini %changelog ++++++ DSN_names.patch ++++++ Author: Adam Majer <ama...@suse.de> Date: Wed Mar 29 14:40:07 CEST 2017 Summary: DSN options and sample odbc.ini entries The purpose of ma_dsn.c patch is to make sure that nothing changes in available options between ODBC driver versions. The sample DSN config file is manually maintained based on these options. Index: mariadb-connector-odbc-2.0.13-ga-src/ma_dsn.c =================================================================== --- mariadb-connector-odbc-2.0.13-ga-src.orig/ma_dsn.c +++ mariadb-connector-odbc-2.0.13-ga-src/ma_dsn.c @@ -28,52 +28,52 @@ #define DSNKEY_PWD_INDEX 9 #define DSNKEY_DATABASE_INDEX 10 -MADB_DsnKey DsnKeys[]= -{ - {"DSN", offsetof(MADB_Dsn, DSNName), DSN_TYPE_STRING, 0, 0}, /* 0 */ - {"DESCRIPTION", offsetof(MADB_Dsn, Description), DSN_TYPE_STRING, 0, 0}, - {"DRIVER", offsetof(MADB_Dsn, Driver), DSN_TYPE_STRING, 0, 0}, - /* OPTIONS should go above all DSN_TYPE_OPTION. They are not saved in DSN separately, and then DSN is read, corresponding - properties are filled from OPTIONS. Also putting its alias here - it should not appear on Windows(unless somebody edits - registry manually), but on *nix we can expect everything. Array index used in some places to decide if the key is OPTIONS */ - {"OPTIONS", offsetof(MADB_Dsn, Options), DSN_TYPE_INT, 0, 0}, /* DSNKEY_OPTIONS_INDEX */ - {"OPTION", DSNKEY_OPTIONS_INDEX, DSN_TYPE_INT, 0, 1}, /* DSNKEY_OPTION_INDEX */ - - {"NamedPipe", offsetof(MADB_Dsn, IsNamedPipe), DSN_TYPE_OPTION, MADB_OPT_FLAG_NAMED_PIPE, 0}, /* MADB_DSNKEY_NAMEDPIPE_INDEX */ - {"TCPIP", offsetof(MADB_Dsn, IsTcpIp), DSN_TYPE_BOOL, 0, 0}, /* DSNKEY_TCPIP_INDEX */ - {"SERVER", offsetof(MADB_Dsn, ServerName), DSN_TYPE_STRING, 0, 0}, /* DSNKEY_SERVER_INDEX */ - {"UID", offsetof(MADB_Dsn, UserName), DSN_TYPE_STRING, 0, 0}, /* DSNKEY_UID_INDEX */ - {"PWD", offsetof(MADB_Dsn, Password), DSN_TYPE_STRING, 0, 0}, /* DSNKEY_PWD_INDEX */ - {"DATABASE", offsetof(MADB_Dsn, Catalog), DSN_TYPE_COMBO, 0, 0}, /* 10 DSNKEY_DATABASE_INDEX */ - {"PORT", offsetof(MADB_Dsn, Port), DSN_TYPE_INT, 0, 0}, - {"INITSTMT", offsetof(MADB_Dsn, InitCommand), DSN_TYPE_STRING, 0, 0}, - {"CONN_TIMEOUT", offsetof(MADB_Dsn, ConnectionTimeout), DSN_TYPE_INT, 0, 0}, - {"AUTO_RECONNECT", offsetof(MADB_Dsn, Reconnect), DSN_TYPE_OPTION, MADB_OPT_FLAG_AUTO_RECONNECT,0}, - {"NO_PROMPT", offsetof(MADB_Dsn, ConnectPrompt), DSN_TYPE_OPTION, MADB_OPT_FLAG_NO_PROMPT,0}, - {"CHARSET", offsetof(MADB_Dsn, CharacterSet), DSN_TYPE_COMBO, 0, 0}, - {"TRACE", offsetof(MADB_Dsn, TraceFile), DSN_TYPE_STRING, 0, 0}, - {"PLUGIN_DIR", offsetof(MADB_Dsn, ConnCPluginsDir), DSN_TYPE_STRING, 0, 0}, - /* SSL */ - {"SSLKEY", offsetof(MADB_Dsn, SslKey), DSN_TYPE_STRING, 0, 0}, - {"SSLCERT", offsetof(MADB_Dsn, SslCert), DSN_TYPE_STRING, 0, 0}, /* 20 */ - {"SSLCA", offsetof(MADB_Dsn, SslCa), DSN_TYPE_STRING, 0, 0}, - {"SSLCAPATH", offsetof(MADB_Dsn, SslCaPath), DSN_TYPE_STRING, 0, 0}, - {"SSLCIPHER", offsetof(MADB_Dsn, SslCipher), DSN_TYPE_STRING, 0, 0}, - {"SSLVERIFY", offsetof(MADB_Dsn, SslVerify), DSN_TYPE_BOOL, 0, 0}, - {"SSLFP", offsetof(MADB_Dsn, SslFp), DSN_TYPE_STRING, 0, 0}, - {"SSLFPLIST", offsetof(MADB_Dsn, SslFpList), DSN_TYPE_STRING, 0, 0}, - {"SSLCRL", offsetof(MADB_Dsn, SslCrl), DSN_TYPE_STRING, 0, 0}, - {"SSLCRLPATH", offsetof(MADB_Dsn, SslCrlPath), DSN_TYPE_STRING, 0, 0}, - {"SOCKET", offsetof(MADB_Dsn, Socket), DSN_TYPE_STRING, 0, 0}, - /* Aliases. Here offset is index of aliased key */ - {"SERVERNAME", DSNKEY_SERVER_INDEX, DSN_TYPE_STRING, 0, 1}, /* 30 */ - {"USER", DSNKEY_UID_INDEX, DSN_TYPE_STRING, 0, 1}, - {"PASSWORD", DSNKEY_PWD_INDEX, DSN_TYPE_STRING, 0, 1}, - {"DB", DSNKEY_DATABASE_INDEX, DSN_TYPE_COMBO, 0, 1}, - - /* Terminating Null */ - {NULL, 0, DSN_TYPE_BOOL,0,0} -}; + MADB_DsnKey DsnKeys[]= + { + {"DSN", offsetof(MADB_Dsn, DSNName), DSN_TYPE_STRING, 0, 0}, /* 0 */ + {"DESCRIPTION", offsetof(MADB_Dsn, Description), DSN_TYPE_STRING, 0, 0}, + {"DRIVER", offsetof(MADB_Dsn, Driver), DSN_TYPE_STRING, 0, 0}, + /* OPTIONS should go above all DSN_TYPE_OPTION. They are not saved in DSN separately, and then DSN is read, corresponding + properties are filled from OPTIONS. Also putting its alias here - it should not appear on Windows(unless somebody edits + registry manually), but on *nix we can expect everything. Array index used in some places to decide if the key is OPTIONS */ + {"OPTIONS", offsetof(MADB_Dsn, Options), DSN_TYPE_INT, 0, 0}, /* DSNKEY_OPTIONS_INDEX */ + {"OPTION", DSNKEY_OPTIONS_INDEX, DSN_TYPE_INT, 0, 1}, /* DSNKEY_OPTION_INDEX */ + + {"NamedPipe", offsetof(MADB_Dsn, IsNamedPipe), DSN_TYPE_OPTION, MADB_OPT_FLAG_NAMED_PIPE, 0}, /* MADB_DSNKEY_NAMEDPIPE_INDEX */ + {"TCPIP", offsetof(MADB_Dsn, IsTcpIp), DSN_TYPE_BOOL, 0, 0}, /* DSNKEY_TCPIP_INDEX */ + {"SERVER", offsetof(MADB_Dsn, ServerName), DSN_TYPE_STRING, 0, 0}, /* DSNKEY_SERVER_INDEX */ + {"UID", offsetof(MADB_Dsn, UserName), DSN_TYPE_STRING, 0, 0}, /* DSNKEY_UID_INDEX */ + {"PWD", offsetof(MADB_Dsn, Password), DSN_TYPE_STRING, 0, 0}, /* DSNKEY_PWD_INDEX */ + {"DATABASE", offsetof(MADB_Dsn, Catalog), DSN_TYPE_COMBO, 0, 0}, /* 10 DSNKEY_DATABASE_INDEX */ + {"PORT", offsetof(MADB_Dsn, Port), DSN_TYPE_INT, 0, 0}, + {"INITSTMT", offsetof(MADB_Dsn, InitCommand), DSN_TYPE_STRING, 0, 0}, + {"CONN_TIMEOUT", offsetof(MADB_Dsn, ConnectionTimeout), DSN_TYPE_INT, 0, 0}, + {"AUTO_RECONNECT", offsetof(MADB_Dsn, Reconnect), DSN_TYPE_OPTION, MADB_OPT_FLAG_AUTO_RECONNECT,0}, + {"NO_PROMPT", offsetof(MADB_Dsn, ConnectPrompt), DSN_TYPE_OPTION, MADB_OPT_FLAG_NO_PROMPT,0}, + {"CHARSET", offsetof(MADB_Dsn, CharacterSet), DSN_TYPE_COMBO, 0, 0}, + {"TRACE", offsetof(MADB_Dsn, TraceFile), DSN_TYPE_STRING, 0, 0}, + {"PLUGIN_DIR", offsetof(MADB_Dsn, ConnCPluginsDir), DSN_TYPE_STRING, 0, 0}, + /* SSL */ + {"SSLKEY", offsetof(MADB_Dsn, SslKey), DSN_TYPE_STRING, 0, 0}, + {"SSLCERT", offsetof(MADB_Dsn, SslCert), DSN_TYPE_STRING, 0, 0}, /* 20 */ + {"SSLCA", offsetof(MADB_Dsn, SslCa), DSN_TYPE_STRING, 0, 0}, + {"SSLCAPATH", offsetof(MADB_Dsn, SslCaPath), DSN_TYPE_STRING, 0, 0}, + {"SSLCIPHER", offsetof(MADB_Dsn, SslCipher), DSN_TYPE_STRING, 0, 0}, + {"SSLVERIFY", offsetof(MADB_Dsn, SslVerify), DSN_TYPE_BOOL, 0, 0}, + {"SSLFP", offsetof(MADB_Dsn, SslFp), DSN_TYPE_STRING, 0, 0}, + {"SSLFPLIST", offsetof(MADB_Dsn, SslFpList), DSN_TYPE_STRING, 0, 0}, + {"SSLCRL", offsetof(MADB_Dsn, SslCrl), DSN_TYPE_STRING, 0, 0}, + {"SSLCRLPATH", offsetof(MADB_Dsn, SslCrlPath), DSN_TYPE_STRING, 0, 0}, + {"SOCKET", offsetof(MADB_Dsn, Socket), DSN_TYPE_STRING, 0, 0}, + /* Aliases. Here offset is index of aliased key */ + {"SERVERNAME", DSNKEY_SERVER_INDEX, DSN_TYPE_STRING, 0, 1}, /* 30 */ + {"USER", DSNKEY_UID_INDEX, DSN_TYPE_STRING, 0, 1}, + {"PASSWORD", DSNKEY_PWD_INDEX, DSN_TYPE_STRING, 0, 1}, + {"DB", DSNKEY_DATABASE_INDEX, DSN_TYPE_COMBO, 0, 1}, + + /* Terminating Null */ + {NULL, 0, DSN_TYPE_BOOL,0,0} + }; #define IS_OPTIONS_BITMAP(key_index) (key_index == DSNKEY_OPTIONS_INDEX || key_index == DSNKEY_OPTIONS_INDEX) ++++++ README ++++++ Homepage: https://mariadb.com/kb/en/mariadb/about-mariadb-connector-odbc/ Connection parameters --------------------- When configuring a DSN you can use the following keywords: * DSN: Name of the DSN * Driver: The name of the MariaDB ODBC Driver. Must always be {MariaDB ODBC 2.0 Driver} * Server: name or IP of the MariaDB database server. Aliases: Servername * User: user name for database authentication. Aliases: UID, * Password: password for database authentication. Aliases: PWD * Database: default database. Aliases: DB * Port: TCP/IP Port of the database server * Option: For MySQL Connector/ODBC compatibility. Aliases: Options Example "Driver={MariaDB ODBC 2.0 Driver};Server=localhost;UID=odbc_user;PWD=odbc_pw;DB=odbc_test;Port=3306"; Known bugs and limitations * multiple statement execution is not fully supported ++++++ missing_includes.patch ++++++ Author: Adam Majer <ama...@suse.de> Summary: Add missing headers Index: mariadb-connector-odbc-3.0.2-ga-src/ma_common.c =================================================================== --- mariadb-connector-odbc-3.0.2-ga-src.orig/ma_common.c +++ mariadb-connector-odbc-3.0.2-ga-src/ma_common.c @@ -21,6 +21,7 @@ * Moved to avoid redundant dependencies */ #include <ma_odbc.h> +#include <wctype.h> MARIADB_CHARSET_INFO* utf16= NULL; Client_Charset utf8= {CP_UTF8, NULL}; Index: mariadb-connector-odbc-3.0.2-ga-src/ma_parse.c =================================================================== --- mariadb-connector-odbc-3.0.2-ga-src.orig/ma_parse.c +++ mariadb-connector-odbc-3.0.2-ga-src/ma_parse.c @@ -17,6 +17,7 @@ 51 Franklin St., Fifth Floor, Boston, MA 02110, USA *************************************************************************************/ #include <ma_odbc.h> +#include <wctype.h> const char *MADB_GetToken(const char **Stmt, const char *End) { Index: mariadb-connector-odbc-3.0.2-ga-src/ma_debug.c =================================================================== --- mariadb-connector-odbc-3.0.2-ga-src.orig/ma_debug.c +++ mariadb-connector-odbc-3.0.2-ga-src/ma_debug.c @@ -17,6 +17,7 @@ 51 Franklin St., Fifth Floor, Boston, MA 02110, USA *************************************************************************************/ #include <ma_odbc.h> +#include <wchar.h> #ifdef MAODBC_DEBUG extern char LogFile[]; ++++++ missing_libs.patch ++++++ Index: mariadb-connector-odbc-3.0.2-ga-src/CMakeLists.txt =================================================================== --- mariadb-connector-odbc-3.0.2-ga-src.orig/CMakeLists.txt +++ mariadb-connector-odbc-3.0.2-ga-src/CMakeLists.txt @@ -108,7 +108,7 @@ IF(WIN32) ENDIF() ELSE() SEARCH_LIBRARY(LIB_MATH floor m) - SET(PLATFORM_DEPENDENCIES ${LIB_MATH}) + SET(PLATFORM_DEPENDENCIES ${LIB_MATH} pthread) SET (MARIADB_ODBC_SOURCES ${MARIADB_ODBC_SOURCES} ma_platform_posix.c) IF(MARIADB_LINK_DYNAMIC) SET(MARIADB_CLIENT_FILENAME libmariadb.so.3) ++++++ nosoname.patch ++++++ Index: mariadb-connector-odbc-3.0.2-ga-src/CMakeLists.txt =================================================================== --- mariadb-connector-odbc-3.0.2-ga-src.orig/CMakeLists.txt +++ mariadb-connector-odbc-3.0.2-ga-src/CMakeLists.txt @@ -238,7 +238,7 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/maria ${CMAKE_SOURCE_DIR}/mariadb-odbc-driver-uni.def) ####### MAODBC ####### -ADD_LIBRARY(${LIBRARY_NAME} SHARED ${MARIADB_ODBC_SOURCES} ${CMAKE_SOURCE_DIR}/mariadb-odbc-driver-uni.def maodbcu.rc) +ADD_LIBRARY(${LIBRARY_NAME} MODULE ${MARIADB_ODBC_SOURCES} ${CMAKE_SOURCE_DIR}/mariadb-odbc-driver-uni.def maodbcu.rc) SET_TARGET_PROPERTIES(maodbc PROPERTIES LANGUAGE C) TARGET_LINK_LIBRARIES(maodbc ${MARIADB_LIB} ${ODBC_INSTLIBS} ${PLATFORM_DEPENDENCIES}) ++++++ package_name.patch ++++++ Author: Adam Majer <ama...@suse.de> Date: Thu Mar 23 11:56:00 CET 2017 Summary: Set package name to SUSE package name This is done so things are installed in right places with correct names. Index: mariadb-connector-odbc-3.0.2-ga-src/CMakeLists.txt =================================================================== --- mariadb-connector-odbc-3.0.2-ga-src.orig/CMakeLists.txt +++ mariadb-connector-odbc-3.0.2-ga-src/CMakeLists.txt @@ -16,7 +16,7 @@ # or write to the Free Software Foundation, Inc., # 51 Franklin St., Fifth Floor, Boston, MA 02110, USA # *************************************************************************************/ -PROJECT(mariadb_connector_odbc C) +PROJECT(mariadb-connector-odbc C) cmake_minimum_required(VERSION 2.8) @@ -261,7 +261,7 @@ IF(WIN32) ENDIF() -SET(CPACK_PACKAGE_NAME "mariadb_connector_odbc") +SET(CPACK_PACKAGE_NAME "mariadb-connector-odbc") IF(WIN32) ADD_SUBDIRECTORY(wininstall) ELSE() @@ -279,7 +279,7 @@ ELSE() ${CMAKE_SOURCE_DIR}/COPYING ${CMAKE_SOURCE_DIR}/README DESTINATION - ./share/doc/${CPACK_PACKAGE_NAME}/) + ./share/doc/packages/${CPACK_PACKAGE_NAME}/) ENDIF() # Tests. Checking if we have them. May be not the case if we are building from source package ++++++ sample_odbc.ini ++++++ # # System DSN config files are read by unixODBC from # /etc/unixODBC/odbc.ini # # User DSN config files are read from user's home directory # %{HOME}/.odbc.ini # [YOUR_DSN_NAME_HERE] Description = "DSN Description" Driver = /usr/lib64/libmaodbc.so # hostname/ip address of the server, or localhost to use UNIX socket connection Server = # connection username, generally not specified in configuration file User = # connection password, generally not specified in actual configuration file Password = # MariaDB database name Database = #Port = 3306 # # Socket is only used for localhost connections with # default value that should match MariaDB socket #Socket = /run/mysql/mysql.sock # Init Command run on connect #InitStmt = # Connection timeout in seconds #Conn_Timeout = # ODBC Tracing support #Trace = On | Off* #TraceFile = /tmp/trace.path #No_Prompt = #Charset = # SSL Options #SslKey = #SslCert = #SslCa = #SslCaPath = #SslCipher = #SslVerify = On | Off* #SslFp = #SslFpList = #SslCrl = #SslCrlPath = # Options is a numeric combination of the following constants # #OPT_FLAG_FIELD_LENGTH 1 #OPT_FLAG_FOUND_ROWS 2 #OPT_FLAG_DEBUG 4 #OPT_FLAG_BIG_PACKETS 8 #OPT_FLAG_NO_PROMPT 16 #OPT_FLAG_DYNAMIC_CURSOR 32 #OPT_FLAG_NO_SCHEMA 64 #OPT_FLAG_NO_DEFAULT_CURSOR 128 #OPT_FLAG_NO_LOCALE 256 #OPT_FLAG_PAD_SPACE 512 #OPT_FLAG_FULL_COLUMN_NAMES 1024 /*10*/ #OPT_FLAG_COMPRESSED_PROTO 2048 #OPT_FLAG_IGNORE_SPACE 4096 #OPT_FLAG_NAMED_PIPE 8192 #OPT_FLAG_NO_BIGINT 16384 #OPT_FLAG_NO_CATALOG 32768 #OPT_FLAG_USE_CNF 65536 #OPT_FLAG_SAFE 131072 #OPT_FLAG_NO_TRANSACTIONS 262144 #OPT_FLAG_LOG_QUERY 524288 #OPT_FLAG_NO_CACHE 1048576 /*20*/ #OPT_FLAG_FORWARD_CURSOR 2097152 #OPT_FLAG_AUTO_RECONNECT 4194304 #OPT_FLAG_AUTO_IS_NULL 8388608 #OPT_FLAG_ZERO_DATE_TO_MIN 16777216 #OPT_FLAG_MIN_DATE_TO_ZERO 33554432 #OPT_FLAG_MULTI_STATEMENTS 67108864 #OPT_FLAG_COLUMN_SIZE_S32 134217728 #OPT_FLAG_NO_BINARY_RESULT 268435456 #OPT_FLAG_BIGINT_BIND_STR 536870912 #OPT_FLAG_NO_INFORMATION_SCHEMA 1073741824 /*30*/ # # To enable forward only cursors, and big packets # 8 + 2097152 = 2097160 # #Options =