DownloadRelease NotesChangelogAbout MariaDB Connector/C
Release date: 7 Jun 2018
For the highlights of this release, see the release notes.
The revision number links will take you to the revision's page on GitHub. On GitHub you can view more details of the revision and view diffs of the code modified in that revision.
Revision #e8aea63 2018-05-30 16:31:17 +0200
Windows build fix
2018-05-30 12:37:37 +0200
Merge pull request #53 from FaramosCZ/patch-2
2018-05-24 07:06:12 +0200
Add conversion to the types expected by the memset()
2018-05-30 12:34:45 +0200
Merge pull request #50 from junaruga/hotfix/fix-cert-request-with-newer-openssl
2018-05-07 20:30:02 +0200
Fix certificate request error on OpenSSL.
2018-05-30 09:28:49 +0200
Merge pull request #54 from FaramosCZ/patch-3
2018-05-24 07:25:45 +0200
Fix: double free()
2018-05-30 07:12:34 +0200
Merge pull request #55 from FaramosCZ/patch-4
2018-05-24 07:35:20 +0200
Fix: use after free()
2018-05-30 07:04:38 +0200
Added test case for
2018-05-29 17:46:47 +0200
Fix for : Allow multiple initialization of the client library (mysql_server_init( mysql_server_end).
2018-05-29 15:44:46 +0300
Merge pull request #57 from rusher/master
2018-05-28 16:33:49 +0200
[test] removing plugins from server test build. server test build can be build with plugins according to build options. This patch permit will not install those plugins (particulary mariadb-plugin-cracklib-password-check)
2018-05-29 11:43:47 +0200
Merge branch 'master' of
2018-05-29 09:49:35 +0200
Fix for : Copy all members of MYSQL_FIELD from mysql->fields to stmt->fields.
2018-05-24 12:10:02 +0200
Changed default character set from utf8 (see fix for ) to latin1, which is also default behavior in To use another default character set, MariaDB Connector/C has to be build with CMake parameter -DDEFAUT_CHARSET=name.
2018-05-28 15:51:58 +0200
Fixed string conversion to MYSQL_TIME_TYPE:
added support for negative time values
invalid strings (and/or conversion) and invalid values will result in MYSQL_TIMESTAMP_ERROR time type
2018-05-21 09:48:21 +0000
Merge branch '10.2-server'
2018-05-17 13:02:59 +0400
Add GNUTLS include directory
2018-05-09 23:07:57 +0200
various checks for corrupted packets in the protocol
2018-05-09 23:06:28 +0200
minor style changes
2018-04-24 17:20:07 +0200
Fixed another logical-op warning if EAGAIN and EWOULDBLOCK have same values.
2018-04-24 17:18:31 +0200
Support for -Wlogical-op flag and warning fixes (Patch provided by Monty)
2018-04-24 12:17:48 +0200
Fix for : ssl_thread_init() uses wrong openssl threadid callback
2018-04-14 07:30:19 +0200
Windows build fixes: disable for windows platforms
2018-03-30 06:45:19 -0400
Fixes misc. typos
2018-04-12 16:22:38 +0200
: Correct handling of EAGAIN and EINPROGRESS in internal_connect (socket) for non windows platforms. Kudos to Daniel Black for providing this patch.
2018-04-12 08:52:21 +0200
Bumped version to 10.2.13 (only valid for standalone C/C build)
2018-04-12 08:49:26 +0200
Fix for mariadb_stmt_execute: If compressed protocol is in use, mariadb_stmt_execute_direct will be emulated by mysql_stmt_prepare and mysql_stmt_execute.
2018-04-12 07:00:43 +0200
Fix for : Parsing of configuration file fails if key/value pairs contain white spaces.
2018-04-11 13:21:05 +0200
Fix for : If no default client character set was specified, the utf8 character set will be used by default (instead of setting the client character set to server character set)
2018-04-07 07:42:59 +0200
: Support for expired passwords (MySQL Server)
2018-05-19 23:08:54 +0000
Remove LIBRARY_OUTPUT_DIRECTORY from target properties for plugins to fix windows build/test
2018-05-19 23:03:46 +0000
Merge branch 'grooverdan--abstract-socket-linux-only'
2018-05-19 22:58:51 +0000
Merge branch '-abstract-socket-linux-only' of git:github.com/grooverdan/mariadb-connector-c into grooverdan--abstract-socket-linux-only
2018-05-10 11:14:57 +1000
: abstract socket support - fix length(2)
2018-05-19 18:50:33 +0000
fix plugin library building on macOS
2018-05-17 13:02:59 +0400
Add GNUTLS include directory
2018-05-19 15:32:39 +0200
attempt to fix C/C to build on older cmake
2018-05-19 12:34:07 +0000
Post-fix after ba9f5f4af1ed329128ae04c22952902604ba081d (adding _server_host attribute).
2018-05-18 12:24:56 +0200
Revert "Fix for :"
2018-05-17 07:10:15 +0200
Fix for :
2018-05-14 17:56:08 +0200
Merge pull request #52 from twocode/addhostname
2018-05-11 10:09:04 +0800
Use _server_host per discussion.
2018-05-10 10:09:32 +0000
Add host name to session attributes
2018-05-14 16:12:56 +0200
Merge pull request #48 from rusher/master
2018-05-04 11:16:18 +0200
[TODO-1299] testing connector against last server build. Those tests permit to check early regression and might failed, so tagged as "Allowed Failures" on travis
2018-05-11 07:15:23 +0200
TLS/SSL test fixes: - create ssluser to prevent failing test on new db instance - skip tls_version test when using OpenSSL 1.1.1
2018-05-09 13:17:53 +0200
Fix for : Build fails if TLS was disabled (CMake option -DWITH_SSL=OFF)
2018-05-02 11:40:42 +0200
: Add support for !include an !includedir in configuration files
2018-04-24 18:26:07 +0200
: Added support for OpenSSL 1.1.1 Tested with OpenSSL 1.1.1 beta 5. For testing TLS v13 the server needs to be patched with patch attached to .
2018-04-24 18:02:43 +0200
Merge commit 'fbca960c33846147a5da301977df253e5a912527'
2018-04-24 17:20:07 +0200
Fixed another logical-op warning if EAGAIN and EWOULDBLOCK have same values.
2018-04-24 17:18:31 +0200
Support for -Wlogical-op flag and warning fixes (Patch provided by Monty)
2018-04-24 17:17:20 +0200
Revert "Added -Wlogical-op warning flag and fixed two warnings"
2018-04-24 17:04:59 +0200
Added -Wlogical-op warning flag and fixed two warnings
2018-04-24 14:25:48 +0200
Bumped version number to 3.0.5
2018-04-24 12:22:12 +0200
merge commit '966ad42cee3de834a8223ac89f15c32972e1abd3'
2018-04-23 12:12:31 +0200
Build fix if Connector/C is built as submodule
2018-04-23 07:27:13 +0200
Pushed version number to 10.3.6
2018-04-23 03:47:07 +0200
Windows build fix: The msi installer package didn't contain all plugins
2018-04-22 14:44:42 +0200
Fixed authentication plugin configuration
2018-04-18 18:53:08 +1000
: abstract socket support - limit length
2018-04-22 08:49:34 +0200
Merge pull request #47 from MariaDB/connector_c_3.0-lawrin
2018-04-19 17:32:05 +0200
Corrections of the codepage number for some collations.
2018-04-22 08:40:19 +0200
Build fix: Separate arguments if SIGN_OPTIONS was specified via cmake variable
2018-04-20 07:29:50 +0200
For expired password test check error codes ER_MUST_CHANGE_PASSWORD (=1820) and ER_MUST_CHANGE_PASSWORD_LOGIN (=1862)
2018-04-20 07:19:40 +0200
Fixed test case for expired password Added test case for
2018-04-18 07:13:21 +0200
Disable cipher mapping test - depending on used OpenSSL version (in client and/or server) several cipher suites might be disabled or removed.
2018-04-18 06:34:50 +0200
Merge branch 'master' into 10.2-server
2018-04-12 17:17:04 +0200
Merge pull request #44 from luzpaz/10.2-misc-typos
2018-03-30 06:45:19 -0400
Fixes misc. typos
2018-02-09 20:19:45 +0100
Plugin configuration fixes:
2018-02-08 22:38:58 +0000
Fix clang on Windows warnings
2018-02-01 11:10:06 +0100
Travis fixes (TLS/SSL)
2018-01-28 16:48:59 +0100
Travis fix: Build Connector/C with OpenSSL
2018-01-26 15:01:12 +0100
Travis fixes
2018-01-24 09:18:27 +0100
Revert "Fix for :"
2018-01-24 08:49:02 +0100
Fix for :
2018-01-22 18:39:19 +0100
Added support for travis
2018-01-21 17:27:04 +0100
Fix for : Since we already called plugin->close function we need to prevent that mysql_close_slow_part (which sends COM_QUIT to the server) will be handled by plugin (which might end up in crashing the application)
2018-01-19 07:29:51 +0100
Bumped version number to 3.0.4
2018-01-17 12:43:58 +0100
Added installation layout for Debian (-DINSTALL_LAYOUT=DEB)
2018-01-17 08:01:21 +0100
Changed/fixed Wix installer images
2018-01-16 15:24:54 +0100
Fix for : Don't try to reconnect twice: if mysql->options.reconnect is set, ma_simple_command already tries to reconnect, so there is no need to reconnect in mysql_ping again
2017-12-25 16:10:20 +0100
: Add support for missing collation and character sets
2018-01-16 11:45:49 +0100
If gnutls pkg-config file is missing, Cmake's module FindGNUTLS.cmake will not determine and check the version number. If GNUTLS_VERSION_STRING could not be determined, we try to get the version string by running gnutls_check_version (try_run)
2018-01-15 18:56:14 +0100
Merge branch 'master' of
2018-01-15 18:18:42 +0100
Merge pull request #31 from kevgs/clang_tsan
2017-10-06 00:38:00 +0300
fix TSAN build with Clang
2018-01-15 18:55:55 +0100
updated README
2018-01-15 17:57:29 +0100
Skip test for SESSION_TRACK_STATE_CHANGE if the test server is a MySQL server, since MySQL 5.7 (and above) doesn't send this flag after set session session_track_state_change=1
2018-01-15 17:42:37 +0100
Merge branch 'master' of
2018-01-15 17:41:19 +0100
Merge pull request #39 from InuSasha/patch-1
2018-01-04 22:00:40 +0100
fix typo in plugins.cmake
2018-01-15 12:25:52 +0100
Removed determination of programname and reading configuration options from section [programname] when parameter NULL was passed to mysql_options(, MYSQL_READ_DEFAULT_GROUP)
2018-01-11 12:10:05 +0200
Remove unused definitions
2018-01-10 16:37:15 +0000
Fix warnings about RETSIGTYPE/RETQSORTTYPE redefinition when using libmariadb headers together with server's
2018-01-14 07:34:01 +0100
Test cleanup: - removed unused test for old sqlite3 module - to avoid warnings and make code more readable mysql_stmt_prepare and mysql_real_query now use the SL (string and length) macro.
2018-01-04 15:43:44 +0000
support build with static openssl on Windows
2018-01-09 18:13:54 +0100
TLS/SSL fixes: - don't run fingerprint and passphrase protected tests if the corresponding files (sha1 and encrypted client key) are not found in CERT_PATH - don't overwrite SSL errors if handshake failed - Use gnutls read/write instead of pvio
2018-01-08 13:57:53 +0100
:
2018-01-08 12:39:48 +0100
Merge branch 'master' of
2018-01-08 12:31:33 +0100
removed unused function char_val from ma_password.c
2018-01-08 12:31:33 +0100
removed unused function char_val from ma_password.c
2017-12-22 09:00:13 +0100
Merge branch 'master' of
2017-12-20 10:01:32 +0100
Fix test failues if testing against server < 10.2
2017-12-22 08:59:32 +0100
Fix for (manually merged from 2.3.5)
2017-12-15 10:48:42 +0100
: Fixed crash when client receives extended ok packet with SESSION_TRACK_STATE_CHANGE information flag.
2017-12-04 19:45:07 +0100
Fix for : MariaDB Connector/C was not compatible to libmysql when passing value for MYSQL_OPT_LOCAL_INFILE. According to the documentatin local infile will be enabled if a NULL pointer was passed or a pointer to an unsigned integer which value is > 0. Connector/C expected a bool pointer, which ends up in wrong results on big endian systems.
2017-11-27 19:02:37 +0100
Windows build fix: init_once assignment needs to be casted (C99).
2017-11-27 18:22:05 +0100
Fix for : Wrong exit code when an invalid option was passed to mariadb_config.
2017-11-27 17:31:16 +0100
Fix for FreeBSD build: PTHREAD_ONCE_INIT is defined as a struct, so we need to cast it.
2017-11-12 21:29:10 +0000
main.ssl_7937 failed with timeout in buildbot on Windows
2017-11-22 09:50:12 +0100
Fix for : For backwards compatibiliry we now allow reinitialization of client library by setting init_once to zero in mysql_server_end() function.
2017-11-18 16:20:33 +0100
Fix for Solaris build ()
2017-11-08 09:12:42 +0100
Fix windows build: For using _malloca (instead of deprecated alloca) we need to include malloc.h
2017-11-08 09:09:52 +0100
Revert "Fix windows build: Use _malloca instead of alloca"
2017-11-08 08:51:36 +0100
Fix windows build: Use _malloca instead of alloca
2017-11-08 04:56:04 +0100
: Fxed malloc result check in dynamic columns
2017-11-07 18:45:08 +0100
Added additional test (invalid user)
2017-11-07 18:36:14 +0100
Implementation for :
2017-10-28 16:46:49 +0200
Fix for :
2017-10-26 18:34:05 +0200
: Return error (=1) instead of exiting.
2017-10-25 19:07:17 +0200
Fix compiler warning
2017-10-23 11:04:14 +0200
: tls-version
2017-10-17 15:53:45 +0200
Provide details about TLS/SSL library in use
2017-10-15 09:41:12 +0200
Revert ": Determine TLS/SSL library version"
2017-10-15 06:01:59 +0200
: Determine TLS/SSL library version
2017-10-12 12:15:39 +0200
Build fix: When building as subproject inside server tree, ZLIB_FOUND was already set by parent, so we need additionally check if WITH_EXTERNAL_ZLIB was specified. - New server status flags Added SERVER_STATUS_ANSI_QUOTES and SERVER_STATUS_IN_TRANS_READONLY
2017-10-12 09:56:50 +0200
Added missing dependency for zlib (WITH_EXTERNAL_ZLIB=ON) Added CC_SOURCE_REVISION definition (mariadb_version.h)
2017-10-10 12:20:37 +0200
Merge branch 'master' of
2017-08-14 17:23:42 +0200
Implementation and testcase for - skipping particular paramset in bulk operation - with help of special indicator value STMT_INDICATOR_IGNORE_ROW set in any column of the row. The revision also adds some (mainly VS specific) file/dirs definitions to .gitignore to make 'gid status' usable on Windows, and the typo in bulk1 testsuite
2017-10-10 12:19:01 +0200
: - Force TLS/SSL connection if finger print options were specified - Allow hex finger prints with colon separated 2 digit numbers
2017-10-02 09:08:03 +0200
: Connector/C now provides additional information for package version mariadb_config --cc_version lists the package version Beside MARIADB_PACKAGE_VERSION numeric representation MARIADB_PACKAGE_VERSION_ID can be used now within preprocessor directives
2017-10-01 05:57:58 +0200
Fixed test case name for
2017-09-30 14:10:01 +0200
Fix for : duplicated if condition in mariadb_dyncol.c
2017-09-29 11:12:36 +0200
Fix parentheses ()
2017-09-25 19:16:55 +0200
Update year in mariadb_config output
2017-09-15 01:06:05 +0200
define MARIADB_BASE_VERSION in mariadb_version.h
2017-09-09 16:03:08 +0200
/usr/lib/x86_64-linux-gnu/libmariadbclient.so.18: version `libmariadbclient_18' not found
2017-09-25 13:51:01 +0200
Fix for : mysql_stmt_fetch_column doesn't work with prior call to mysql_stmt_store_result - If no bind variables were bound or the function mysql_stmt_store_result was not called before, the internal bind variables (stmt->bind) was not filled (lengths and null values)
2017-09-08 12:19:32 +0200
Merge branch 'master' of
2017-09-07 17:35:35 +0200
Export mysql_client_plugin_declaration from auth_gssapi_client.so
2017-09-08 12:18:37 +0200
Added missing break in mysql_get_infov
2017-08-31 07:54:21 +0200
Fixed memory leak and added missing break in dynamic column conversion function
2017-08-24 18:05:58 +0200
Fix for : client library crashes on Windows after TLS reconnect: The connection pointer mysql is now no longer part (and doesn't need to be updated) of schannel security context, since it can be obtained directly from tls container.
2017-07-25 09:45:16 +0200
Merge branch 'master' of
2017-07-21 08:06:53 +0000
Merge branch 'master' of
2017-07-19 13:50:40 +0200
Bumped version number to 3.0.3
2017-07-21 07:53:03 +0000
Warning fixes for Win64 build
2017-07-25 09:43:55 +0200
Fix for : RPM layout now works for other 64-bit architectures than x86_64. Thx to Michal Schorn for contributing this patch.
2017-07-19 11:29:42 +0200
Fixed windows build: taget name for sha256 password plugin wasn't specified
2017-07-18 16:15:36 +0200
Fix for : PHP5 crashes
2017-07-12 06:32:35 +0200
added my.cnf option server-public-key-path for sha256 authentication plugin
2017-07-04 11:42:05 +0200
followup for e2df6d2: default directories, files, and groups
2017-07-07 11:18:24 +0200
Fix for : Wrong output for mariadb_config on OSX
2017-07-04 13:56:38 +0200
Fixed compiler warnings
2017-07-01 15:39:08 +0200
Fix for : All functions which are supported by libmysql use now unsigned long as length parameter instead of size_t
2017-07-01 15:36:47 +0200
Fix for : Added version info for shared object: libmysqlclient_18 node contains all symbols for libmysql compatibiliry libmariadb_3 node contains all mariadb specific symbols which are not supported by libmysql
2017-06-30 14:02:47 +0200
Merge remote-tracking branch 'origin/10.2-server'
2017-06-25 14:14:55 +0200
Fix for and : If no configuration file and no configuration group was specified, Connector/C ddoesn't read any configurationm files. By default the follwing groups will be read: - client - client-server - client-mariadb
added support for 2digit year representation:
values < 69 will be converted to 20YY
values >= 69 will be converted to 19YY
This page is licensed: CC BY-SA / Gnu FDL