MariaDB Connector/C 3.0.5 Changelog

You are viewing an old version of this article. View the current version here.

The most recent Stable (GA) release of MariaDB Connector/C is:
MariaDB Connector/C 3.4.3

Download Release Notes Changelog About 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
  • Revision #22bf0be 2018-05-30 12:37:37 +0200
    • Merge pull request #53 from FaramosCZ/patch-2
  • Revision #8848959 2018-05-24 07:06:12 +0200
    • Add conversion to the types expected by the memset()
  • Revision #725e397 2018-05-30 12:34:45 +0200
    • Merge pull request #50 from junaruga/hotfix/fix-cert-request-with-newer-openssl
  • Revision #b170111 2018-05-07 20:30:02 +0200
    • Fix certificate request error on OpenSSL.
  • Revision #50c21cb 2018-05-30 09:28:49 +0200
    • Merge pull request #54 from FaramosCZ/patch-3
  • Revision #9bed6bf 2018-05-24 07:25:45 +0200
    • Fix: double free()
  • Revision #99c878d 2018-05-30 07:12:34 +0200
    • Merge pull request #55 from FaramosCZ/patch-4
  • Revision #cd91dc8 2018-05-24 07:35:20 +0200
    • Fix: use after free()
  • Revision #8f168c4 2018-05-30 07:04:38 +0200
  • Revision #6b16eb7 2018-05-29 17:46:47 +0200
    • Fix for CONC-336: Allow multiple initialization of the client library (mysql_server_init( mysql_server_end).
  • Revision #2a5f40f 2018-05-29 15:44:46 +0300
    • Merge pull request #57 from rusher/master
  • Revision #2689375 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)
  • Revision #1511314 2018-05-29 11:43:47 +0200
  • Revision #53c40f5 2018-05-29 09:49:35 +0200
    • Fix for CONC-334: Copy all members of MYSQL_FIELD from mysql->fields to stmt->fields.
  • Revision #8455b6e 2018-05-24 12:10:02 +0200
    • Changed default character set from utf8 (see fix for CONC-315) to latin1, which is also default behavior in MariaDB 10.1 To use another default character set, MariaDB Connector/C has to be build with CMake parameter -DDEFAUT_CHARSET=name.
  • Revision #407ca36 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
      • added support for 2digit year representation:
        • values < 69 will be converted to 20YY
        • values >= 69 will be converted to 19YY
  • Revision #a12a0b8 2018-05-21 09:48:21 +0000
    • Merge branch '10.2-server'
  • Revision #1cc7b52 2018-05-17 13:02:59 +0400
    • Add GNUTLS include directory
  • Revision #27b2f3d 2018-05-09 23:07:57 +0200
    • various checks for corrupted packets in the protocol
  • Revision #d70c883 2018-05-09 23:06:28 +0200
    • minor style changes
  • Revision #d0e48e3 2018-04-24 17:20:07 +0200
    • Fixed another logical-op warning if EAGAIN and EWOULDBLOCK have same values.
  • Revision #df07deb 2018-04-24 17:18:31 +0200
    • Support for -Wlogical-op flag and warning fixes (Patch provided by Monty)
  • Revision #7775af7 2018-04-24 12:17:48 +0200
    • Fix for CONC-326: ssl_thread_init() uses wrong openssl threadid callback
  • Revision #b4a138c 2018-04-14 07:30:19 +0200
    • Windows build fixes: disable CONC-317 for windows platforms
  • Revision #212d405 2018-03-30 06:45:19 -0400
    • Fixes misc. typos
  • Revision #061950f 2018-04-12 16:22:38 +0200
    • CONC-322: Correct handling of EAGAIN and EINPROGRESS in internal_connect (socket) for non windows platforms. Kudos to Daniel Black for providing this patch.
  • Revision #5a399af 2018-04-12 08:52:21 +0200
    • Bumped version to 10.2.13 (only valid for standalone C/C build)
  • Revision #585be64 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.
  • Revision #d83802a 2018-04-12 07:00:43 +0200
    • Fix for CONC-317: Parsing of configuration file fails if key/value pairs contain white spaces.
  • Revision #f39db18 2018-04-11 13:21:05 +0200
    • Fix for CONC-315: 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)
  • Revision #dae524d 2018-04-07 07:42:59 +0200
    • CONC-314: Support for expired passwords (MySQL Server)
  • Revision #deeb32a 2018-05-19 23:08:54 +0000
    • Remove LIBRARY_OUTPUT_DIRECTORY from target properties for plugins to fix windows build/test
  • Revision #d9fe72d 2018-05-19 23:03:46 +0000
    • Merge branch 'grooverdan-MDEV-15655-abstract-socket-linux-only'
  • Revision #57742e1 2018-05-19 22:58:51 +0000
    • Merge branch 'MDEV-15655-abstract-socket-linux-only' of git:github.com/grooverdan/mariadb-connector-c into grooverdan-MDEV-15655-abstract-socket-linux-only
  • Revision #fdbc31a 2018-05-10 11:14:57 +1000
    • MDEV-15655: abstract socket support - fix length(2)
  • Revision #dd3ab95 2018-05-19 18:50:33 +0000
    • fix plugin library building on macOS
  • Revision #252a7c3 2018-05-17 13:02:59 +0400
    • Add GNUTLS include directory
  • Revision #cbc9a71 2018-05-19 15:32:39 +0200
    • attempt to fix C/C to build on older cmake
  • Revision #184a16d 2018-05-19 12:34:07 +0000
    • Post-fix after ba9f5f4af1ed329128ae04c22952902604ba081d (adding _server_host attribute).
  • Revision #638f2aa 2018-05-18 12:24:56 +0200
  • Revision #0c29fdb 2018-05-17 07:10:15 +0200
  • Revision #bb8655d 2018-05-14 17:56:08 +0200
    • Merge pull request #52 from twocode/addhostname
  • Revision #fe2d323 2018-05-11 10:09:04 +0800
    • Use _server_host per discussion.
  • Revision #ba9f5f4 2018-05-10 10:09:32 +0000
    • Add host name to session attributes
  • Revision #e6f0fe5 2018-05-14 16:12:56 +0200
    • Merge pull request #48 from rusher/master
  • Revision #05fded6 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
  • Revision #255c4b0 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
  • Revision #1fe8a06 2018-05-09 13:17:53 +0200
    • Fix for CONC-330: Build fails if TLS was disabled (CMake option -DWITH_SSL=OFF)
  • Revision #ec985d9 2018-05-02 11:40:42 +0200
    • CONC-327: Add support for !include an !includedir in configuration files
  • Revision #f8ea603 2018-04-24 18:26:07 +0200
    • CONC-321: 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 MDEV-15996.
  • Revision #9ba0d73 2018-04-24 18:02:43 +0200
    • Merge commit 'fbca960c33846147a5da301977df253e5a912527'
  • Revision #fbca960 2018-04-24 17:20:07 +0200
    • Fixed another logical-op warning if EAGAIN and EWOULDBLOCK have same values.
  • Revision #1c194bd 2018-04-24 17:18:31 +0200
    • Support for -Wlogical-op flag and warning fixes (Patch provided by Monty)
  • Revision #443f756 2018-04-24 17:17:20 +0200
    • Revert "Added -Wlogical-op warning flag and fixed two warnings"
  • Revision #2198a01 2018-04-24 17:04:59 +0200
    • Added -Wlogical-op warning flag and fixed two warnings
  • Revision #a9e2ad9 2018-04-24 14:25:48 +0200
    • Bumped version number to 3.0.5
  • Revision #cb69283 2018-04-24 12:22:12 +0200
    • merge commit '966ad42cee3de834a8223ac89f15c32972e1abd3'
  • Revision #4fe6575 2018-04-23 12:12:31 +0200
    • Build fix if Connector/C is built as submodule
  • Revision #53a1101 2018-04-23 07:27:13 +0200
    • Pushed version number to 10.3.6
  • Revision #89e27e9 2018-04-23 03:47:07 +0200
    • Windows build fix: The msi installer package didn't contain all plugins
  • Revision #f46244c 2018-04-22 14:44:42 +0200
    • Fixed authentication plugin configuration
  • Revision #441ce64 2018-04-18 18:53:08 +1000
    • MDEV-15655: abstract socket support - limit length
  • Revision #c8464af 2018-04-22 08:49:34 +0200
    • Merge pull request #47 from MariaDB/connector_c_3.0-lawrin
  • Revision #9a50a7d 2018-04-19 17:32:05 +0200
    • Corrections of the codepage number for some collations.
  • Revision #264cfa7 2018-04-22 08:40:19 +0200
    • Build fix: Separate arguments if SIGN_OPTIONS was specified via cmake variable
  • Revision #4adf242 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)
  • Revision #3f43953 2018-04-20 07:19:40 +0200
    • Fixed test case for expired password Added test case for ODBC-138
  • Revision #60e5dee 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.
  • Revision #0e2d913 2018-04-18 06:34:50 +0200
    • Merge branch 'master' into 10.2-server
  • Revision #401f6e1 2018-04-12 17:17:04 +0200
    • Merge pull request #44 from luzpaz/10.2-misc-typos
  • Revision #7aa3473 2018-03-30 06:45:19 -0400
    • Fixes misc. typos
  • Revision #21df0ad 2018-02-09 20:19:45 +0100
    • Plugin configuration fixes:
  • Revision #35d891a 2018-02-08 22:38:58 +0000
    • Fix clang on Windows warnings
  • Revision #209c4f8 2018-02-01 11:10:06 +0100
    • Travis fixes (TLS/SSL)
  • Revision #fca3ef7 2018-01-28 16:48:59 +0100
    • Travis fix: Build Connector/C with OpenSSL
  • Revision #ced8e35 2018-01-26 15:01:12 +0100
    • Travis fixes
  • Revision #6fcec8f 2018-01-24 09:18:27 +0100
  • Revision #3524f5f 2018-01-24 08:49:02 +0100
  • Revision #7b46186 2018-01-22 18:39:19 +0100
    • Added support for travis
  • Revision #00903bb 2018-01-21 17:27:04 +0100
    • Fix for CONC-294: 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)
  • Revision #1a1499c 2018-01-19 07:29:51 +0100
    • Bumped version number to 3.0.4
  • Revision #c1a5ed4 2018-01-17 12:43:58 +0100
    • Added installation layout for Debian (-DINSTALL_LAYOUT=DEB)
  • Revision #d3a6061 2018-01-17 08:01:21 +0100
    • Changed/fixed Wix installer images
  • Revision #5c16523 2018-01-16 15:24:54 +0100
    • Fix for MDEV-10361: 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
  • Revision #0335873 2017-12-25 16:10:20 +0100
    • CONC-299: Add support for missing collation and character sets
  • Revision #edeffbf 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)
  • Revision #7fab2ec 2018-01-15 18:56:14 +0100
  • Revision #1ea0354 2018-01-15 18:18:42 +0100
    • Merge pull request #31 from kevgs/clang_tsan
  • Revision #7f9629a 2017-10-06 00:38:00 +0300
    • fix TSAN build with Clang
  • Revision #c066666 2018-01-15 18:55:55 +0100
    • updated README
  • Revision #ddcb21c 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
  • Revision #1af934e 2018-01-15 17:42:37 +0100
  • Revision #9f9a1c5 2018-01-15 17:41:19 +0100
    • Merge pull request #39 from InuSasha/patch-1
  • Revision #642320e 2018-01-04 22:00:40 +0100
    • fix typo in plugins.cmake
  • Revision #86dacf3 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)
  • Revision #b15a7aa 2018-01-11 12:10:05 +0200
    • Remove unused definitions
  • Revision #794689b 2018-01-10 16:37:15 +0000
    • Fix warnings about RETSIGTYPE/RETQSORTTYPE redefinition when using libmariadb headers together with server's
  • Revision #2e42f7a 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.
  • Revision #64cf572 2018-01-04 15:43:44 +0000
    • support build with static openssl on Windows
  • Revision #75ca3c1 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
  • Revision #5abcb1b 2018-01-08 13:57:53 +0100
  • Revision #9345d74 2018-01-08 12:39:48 +0100
  • Revision #74b1ba2 2018-01-08 12:31:33 +0100
    • removed unused function char_val from ma_password.c
  • Revision #72b38f5 2018-01-08 12:31:33 +0100
    • removed unused function char_val from ma_password.c
  • Revision #b00cdcd 2017-12-22 09:00:13 +0100
  • Revision #3e164b5 2017-12-20 10:01:32 +0100
    • Fix test failues if testing against server < 10.2
  • Revision #2314598 2017-12-22 08:59:32 +0100
    • Fix for CONC-301 (manually merged from 2.3.5)
  • Revision #6d2fb01 2017-12-15 10:48:42 +0100
    • MDEV-14647: Fixed crash when client receives extended ok packet with SESSION_TRACK_STATE_CHANGE information flag.
  • Revision #434b67e 2017-12-04 19:45:07 +0100
    • Fix for CONC-297: 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.
  • Revision #87b863e 2017-11-27 19:02:37 +0100
    • Windows build fix: init_once assignment needs to be casted (C99).
  • Revision #14fe661 2017-11-27 18:22:05 +0100
    • Fix for MDEV-14514: Wrong exit code when an invalid option was passed to mariadb_config.
  • Revision #c849a21 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.
  • Revision #a81a799 2017-11-12 21:29:10 +0000
    • MDEV-11546 main.ssl_7937 failed with timeout in buildbot on Windows
  • Revision #15e9ee4 2017-11-22 09:50:12 +0100
    • Fix for CONC-277: For backwards compatibiliry we now allow reinitialization of client library by setting init_once to zero in mysql_server_end() function.
  • Revision #683e2f3 2017-11-18 16:20:33 +0100
  • Revision #77490eb 2017-11-08 09:12:42 +0100
    • Fix windows build: For using _malloca (instead of deprecated alloca) we need to include malloc.h
  • Revision #b825f34 2017-11-08 09:09:52 +0100
    • Revert "Fix windows build: Use _malloca instead of alloca"
  • Revision #b21e60a 2017-11-08 08:51:36 +0100
    • Fix windows build: Use _malloca instead of alloca
  • Revision #1e6cdb8 2017-11-08 04:56:04 +0100
    • CONC-292: Fxed malloc result check in dynamic columns
  • Revision #c979378 2017-11-07 18:45:08 +0100
    • Added additional test (invalid user)
  • Revision #771a409 2017-11-07 18:36:14 +0100
  • Revision #b40058f 2017-10-28 16:46:49 +0200
  • Revision #5d920a9 2017-10-26 18:34:05 +0200
    • CONC-290: Return error (=1) instead of exiting.
  • Revision #12a6865 2017-10-25 19:07:17 +0200
    • Fix compiler warning
  • Revision #8ea4d2f 2017-10-23 11:04:14 +0200
  • Revision #9272a18 2017-10-17 15:53:45 +0200
    • Provide details about TLS/SSL library in use
  • Revision #d67ee8b 2017-10-15 09:41:12 +0200
    • Revert "MDEV-14027: Determine TLS/SSL library version"
  • Revision #113418c 2017-10-15 06:01:59 +0200
  • Revision #5e32110 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
  • Revision #6d24e0b 2017-10-12 09:56:50 +0200
    • Added missing dependency for zlib (WITH_EXTERNAL_ZLIB=ON) Added CC_SOURCE_REVISION definition (mariadb_version.h)
  • Revision #cd46b30 2017-10-10 12:20:37 +0200
  • Revision #0334aa4 2017-08-14 17:23:42 +0200
    • Implementation and testcase for CONC-275 - 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
  • Revision #6329049 2017-10-10 12:19:01 +0200
    • CONC-286: - Force TLS/SSL connection if finger print options were specified - Allow hex finger prints with colon separated 2 digit numbers
  • Revision #2546445 2017-10-02 09:08:03 +0200
    • CONC-282: 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
  • Revision #2e39bb7 2017-10-01 05:57:58 +0200
  • Revision #2083aa9 2017-09-30 14:10:01 +0200
    • Fix for MDEV-13959: duplicated if condition in mariadb_dyncol.c
  • Revision #5bf7813 2017-09-29 11:12:36 +0200
  • Revision #cb02751 2017-09-25 19:16:55 +0200
    • Update year in mariadb_config output
  • Revision #7d6101d 2017-09-15 01:06:05 +0200
    • define MARIADB_BASE_VERSION in mariadb_version.h
  • Revision #3d11d0f 2017-09-09 16:03:08 +0200
    • MDEV-13588 /usr/lib/x86_64-linux-gnu/libmariadbclient.so.18: version `libmariadbclient_18' not found
  • Revision #17110fb 2017-09-25 13:51:01 +0200
    • Fix for CONC-282: 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)
  • Revision #f9a6b8e 2017-09-08 12:19:32 +0200
  • Revision #85d150e 2017-09-07 17:35:35 +0200
    • Export _mysql_client_plugin_declaration_ from auth_gssapi_client.so
  • Revision #d76663a 2017-09-08 12:18:37 +0200
    • Added missing break in mysql_get_infov
  • Revision #cd50748 2017-08-31 07:54:21 +0200
    • Fixed memory leak and added missing break in dynamic column conversion function
  • Revision #a2b0bcd 2017-08-24 18:05:58 +0200
    • Fix for CONC-276: 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.
  • Revision #482a0b6 2017-07-25 09:45:16 +0200
  • Revision #ce01b63 2017-07-21 08:06:53 +0000
  • Revision #b481265 2017-07-19 13:50:40 +0200
    • Bumped version number to 3.0.3
  • Revision #bc2d6df 2017-07-21 07:53:03 +0000
    • Warning fixes for Win64 build
  • Revision #843c492 2017-07-25 09:43:55 +0200
    • Fix for CONC-271: RPM layout now works for other 64-bit architectures than x86_64. Thx to Michal Schorn for contributing this patch.
  • Revision #35d6fb1 2017-07-19 11:29:42 +0200
    • Fixed windows build: taget name for sha256 password plugin wasn't specified
  • Revision #d9bc990 2017-07-18 16:15:36 +0200
  • Revision #e9b7f21 2017-07-12 06:32:35 +0200
    • added my.cnf option server-public-key-path for sha256 authentication plugin
  • Revision #ae06903 2017-07-04 11:42:05 +0200
    • followup for e2df6d2: default directories, files, and groups
  • Revision #3f356c0 2017-07-07 11:18:24 +0200
    • Fix for MDEV-13270: Wrong output for mariadb_config on OSX
  • Revision #0f11352 2017-07-04 13:56:38 +0200
    • Fixed compiler warnings
  • Revision #c596c16 2017-07-01 15:39:08 +0200
    • Fix for CONC-252: All functions which are supported by libmysql use now unsigned long as length parameter instead of size_t
  • Revision #3fab8ce 2017-07-01 15:36:47 +0200
    • Fix for MDEV-12889: 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
  • Revision #2d27bd7 2017-06-30 14:02:47 +0200
    • Merge remote-tracking branch 'origin/10.2-server'
  • Revision #90fd0cd 2017-06-25 14:14:55 +0200
    • Fix for MDEV-12965 and MDEV-13100: 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

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.