All pages
Powered by GitBook
1 of 8

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Connector/C++ 1.0 Release Notes

Release Notes for MariaDB C++ Connector 1.0 releases

Connector/C++ 1.0.4 Release Notes

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

Download Now

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.

Bugs Fixed

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 ()

Installation

Connector/C++ 1.0.5 Release Notes

Download Now

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.

Notable Changes

  • - 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

Bugs Fixed

  • - 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()

Installation

Connector/C++ 1.0.1 Release Notes

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

Download Now

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.

Notable Changes

  • 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. ()

Issues Fixed

  • 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 (

Installation

Connector/C++ 1.0.0 Release Notes

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

Download Now

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.

Installation

Connector/C++ 1.0.2 Release Notes

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.

enables certificate verification.
  • 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

  • CONCPP-138
    CONCPP-140
    CONCPP-141
    CONCPP-134
    CONCPP-136
    CONCPP-137
    ./
    ) directory, which is not correct. (
    )
    CONCPP-78
    CONCPP-84
    CONCPP-69
    CONCPP-79
    CONCPP-80
    CONCPP-81
    Notable Changes
    • Added support of two optimized modes of executeBatch/executeLargeBatch PreparedStatement methods execution: (CONCPP-106)

      • rewriteBatchedStatements connection option

      • useBulkStmts connection option

    rewriteBatchedStatements

    • 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.

    useBulkStmts

    • 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.

    Issues Fixed

    • 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 ()

    Installation

    Stable
    MariaDB Connector/C++ 1.1.6
    Download Now
    Stable (GA)
    MariaDB Connector/C++
    CONCPP-132
    CONCPP-133

    Connector/C++ 1.0.3 Release Notes

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

    Download Now

    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.

    Notable Changes

    • 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

    Issues Fixed

    • 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 () ()

    Installation

    INSERT INTO ab (i) VALUES (?) WITH first batch values = 1, second = 2
    INSERT 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=4
  • Attributes can be defined in the URL or in properties under the name connectionAttributes in the format

  • CONCPP-117
    CONCPP-112
    CONCPP-102
    CONCPP-116
    CONCPP-18
    CONCPP-110
    CONCPP-107
    connectionAttributes=attr1:value1,attr2:value2

    The most recent release of is:

    Connector/C++ 1.1.7 Download Now

    MariaDB Connector/C++
    MariaDB Connector/C++
    Install MariaDB Connector/C++
    MariaDB Connector/C++
    MariaDB Connector/C++
    Install MariaDB Connector/C++
    MariaDB Connector/C++
    MariaDB Connector/C++
    MariaDB Connector/C++
    Install MariaDB Connector/C++
    MariaDB Connector/C++
    Install MariaDB Connector/C++
    MariaDB Connector/C++
    Install MariaDB Connector/C++
    MariaDB Connector/C++
    Install MariaDB Connector/C++
    mysql.proc

    Connector/C++ 1.0.6 Release Notes

    The most recent release of is:

    Download Now

    Release date: 2 Oct 2025

    This is a Stable (GA) release of MariaDB Connector/C++.

    For a description of this library see the MariaDB Connector/C++ 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.17.

    Notable Changes

    • - 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.

    Bugs Fixed

    • - 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

    Installation

    CONCPP-75
    CONCPP-144
    CONCPP-56
    CONCPP-143
    CONCPP-145
    Connector/C++ 1.1.7
    Download Now
    Install MariaDB Connector/C++
    MariaDB Connector/C++

    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.