Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Release Notes for MariaDB C++ Connector 1.0 releases
The most recent Stable (GA) release of MariaDB Connector/C++ is:MariaDB Connector/C++ 1.1.6
Release date: 2024-10-21
This is a Stable (GA) release of MariaDB Connector/C++.
For a description of this library see the page.
is the interface between C++ applications and MariaDB Server. MariaDB Connector/C++ enables development of C++ applications using a JDBC-based API, which is also used by MariaDB Connector/J.
MariaDB Connector/C++ implements the MySQL protocol using the MariaDB Connector/C API. This release depends on MariaDB Connector/C 3.3.11.
getMoreResults() may pick other statement result if the first statement used text protocol ()
Driver fails to cache multiple results in case other query requires the connection and that will cause "commands out of sync" errors ()
Release date: 14 Mar 2025
This is a Stable (GA) release of MariaDB Connector/C++.
For a description of this library see the page.
is the interface between C++ applications and MariaDB Server. MariaDB Connector/C++ enables development of C++ applications using a JDBC-based API, which is also used by MariaDB Connector/J.
MariaDB Connector/C++ implements the MySQL protocol using the MariaDB Connector/C API. This release depends on MariaDB Connector/C 3.3.14.
- The Driver now always cache all binary results to avoid access violation error while using result-set created with server prepared statements after the connection object has been closed
- reconnect and reset methods in the Connection interface are deprecated
- if trustServerCertificate is true(this is default) the connector will explicitly disable certificate verification. This enables work of the connector with Connector/C v.3.4 for unencrypted connection on the platforms there Connector/C is linked dynamically. Setting the option to false
- Removed volatile deprecation build warnings
- With default settings the driver uses slowest possible batch executing method
- Inconsistent types naming of the names returned by ResultSetMetaData::getColumnTypeName()
The most recent Stable (GA) release of MariaDB Connector/C++ is: MariaDB Connector/C++ 1.1.6
Release date: 2021-06-17
This is a Stable (GA) release of MariaDB Connector/C++.
For a description of this library see the page.
is the interface between C++ applications and MariaDB Server. MariaDB Connector/C++ enables development of C++ applications using a JDBC-based API, which is also used by MariaDB Connector/J.
MariaDB Connector/C++ implements the MySQL protocol using the MariaDB Connector/C API. This release depends on MariaDB Connector/C 3.1.13.
Adds useCharacterEncoding connection string option to control the character set used for connection, input, and results. Includes OPT_SET_CHARSET_NAME and useCharset aliases for compatibility. ()
Adds credentialType connection string option to set the default client-side authentication plugin, similar to MYSQL_DEFAULT_AUTH in MariaDB Connector/C. Includes defaultAuth alias for compatibility. ()
Metadata retrieved from instead of using the Information Schema. ()
CMake generates an error on nesting of flow control statements. ()
CMake fails when called without the -DWITH_SSL=OpenSSL option. ()
Sub-directory install paths include a dot (
The most recent Stable (GA) release of MariaDB Connector/C++ is:MariaDB Connector/C++ 1.1.6
Release date: 2021-03-18
This is a Stable (GA) release of MariaDB Connector/C++.
For a description of this library see the page.
MariaDB Connector/C++ is the interface between C++ applications and MariaDB Server. MariaDB Connector/C++ enables development of C++ applications using a JDBC-based API, which is also used by MariaDB Connector/J.
MariaDB Connector/C++ implements the MySQL protocol using the MariaDB Connector/C API. This release depends on MariaDB Connector/C 3.1.11.
The most recent (GA) release of MariaDB Connector/C++ is:
Release date: 2022-10-11
This is a release of MariaDB Connector/C++.
For a description of this library see the page.
is the interface between C++ applications and MariaDB Server. MariaDB Connector/C++ enables development of C++ applications using a JDBC-based API, which is also used by MariaDB Connector/J.
MariaDB Connector/C++ implements the MySQL protocol using the MariaDB Connector/C API. This release depends on MariaDB Connector/C 3.3.2.
Fixed possible crash in case of use of setBytes() method if passed sql::bytes object did not own the bytes array, but referenced C array
./Added support of two optimized modes of executeBatch/executeLargeBatch PreparedStatement methods execution: (CONCPP-106)
rewriteBatchedStatements connection option
useBulkStmts connection option
When using the rewriteBatchedStatements connection option, for INSERT queries the connector will construct a single query using batch parameter sets. For example:
will be rewritten as:
If the query cannot be rewritten in multi-values, the rewriteBatchedStatements connection option will use multi-queries. For example:
will be rewritten as:
If the rewriteBatchedStatements connection option is selected, the useServerPrepStmts option is set to false.
If both rewriteBatchedStatements and useBulkStmts options are selected, rewriteBatchedStatements takes precedence.
The useBulkStmts connection option uses the MariaDB bulk execution feature, so it requires MariaDB Server 10.2.7 or later. useBulkStmts will be used even if useServerPrepStmts is not set, in other words, if the default statement prepare method is client-side prepare.
If both useBulkStmts and rewriteBatchedStatements options are selected, rewriteBatchedStatements takes precedence.
Attempting connections from multiple threads causes the connector to crash. (CONCPP-105)
PreparedStatement setDouble only processes the first 6 significant digits and zeros any additional digits. (CONCPP-96)
Result-set streaming is not supported in this release series, but setting setFetchSize does not throw an exception and can cause the application to crash.
Starting with this release, setting setFetchSize will throw SQLFeatureNotImplementedException at the attempt to set fetch size >0 ()
The most recent Stable (GA) release of MariaDB Connector/C++ is:MariaDB Connector/C++ 1.1.6
Release date: 2024-01-08
This is a Stable (GA) release of MariaDB Connector/C++.
For a description of this library see the page.
MariaDB Connector/C++ is the interface between C++ applications and MariaDB Server. MariaDB Connector/C++ enables development of C++ applications using a JDBC-based API, which is also used by MariaDB Connector/J.
MariaDB Connector/C++ implements the MySQL protocol using the MariaDB Connector/C API. This release depends on MariaDB Connector/C 3.3.8.
A new static Connector/C++ library mariadbcpp-static.(lib|a) is included in the release packages.
Symlink libmariadbcpp.a is created on platforms other than Windows
To link against the static library MARIADB_STATIC_LINK needs to be defined during compilation. ()
Added support of connection attributes ()
New option WITH_UNIT_TESTS to allow building the connector with or without tests ()
New option BUILD_TESTS_ONLY can be used to only generate test projects
Packages for Red Hat (rpm) and Debian/Ubuntu (deb) added
Possible crash during execution when a parameter is set with setByte ()
Minor issues related to compilation of the connector, like errors/warnings when enabling more compiler warnings () ()
INSERT INTO ab (i) VALUES (?) WITH first batch values = 1, second = 2INSERT INTO ab (i) VALUES (1), (2)INSERT INTO ab(col1) VALUES (?) ON DUPLICATE KEY UPDATE col2=? WITH VALUES [1,2] AND [2,3]INSERT INTO ab(col1) VALUES (1) ON DUPLICATE KEY UPDATE col2=2;INSERT INTO TABLE(col1) VALUES (3) ON DUPLICATE KEY UPDATE col2=4Attributes can be defined in the URL or in properties under the name connectionAttributes in the format
connectionAttributes=attr1:value1,attr2:value2Release date: 2 Oct 2025
This is a Stable (GA) release of MariaDB Connector/C++.
MariaDB Connector/C++ is the interface between C++ applications and MariaDB Server. MariaDB Connector/C++ enables development of C++ applications using a JDBC-based API, which is also used by MariaDB Connector/J.
MariaDB Connector/C++ implements the MySQL protocol using the MariaDB Connector/C API. This release depends on MariaDB Connector/C 3.3.17.
- Introduced restrictedAuth connection option restricting connector in authentication plugins it may use. By using this option, application can define a comma-separated list of plugins allowed to use. That may not allow server to silently downgrade the authentication method.
- Possible crash in the connector with useServerPrepStmts=true
- Empty stream should result in empty DB value, not a NULL
- Possible issues in getImportedKeys, getExportedKeys and getCrossReference with 12.1 server
- Inconsistency in getDouble() on text and binary result
This page is: Copyright © 2025 MariaDB. All rights reserved.
This page is: Copyright © 2025 MariaDB. All rights reserved.
This page is: Copyright © 2025 MariaDB. All rights reserved.
This page is: Copyright © 2025 MariaDB. All rights reserved.
This page is: Copyright © 2025 MariaDB. All rights reserved.
This page is: Copyright © 2025 MariaDB. All rights reserved.
This page is: Copyright © 2025 MariaDB. All rights reserved.