This is a read-only copy of the MariaDB Knowledgebase generated on 2025-01-31. For the latest, interactive version please visit https://mariadb.com/kb/.

MariaDB Connector/C++ 1.0.3 Release Notes

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++ 1.0.3 was released on 2024-01-08. This release is of General Availability (GA) maturity.

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. (CONCPP-117)
  • Added support of connection attributes (CONCPP-112)
    • Attributes can be defined in the URL or in properties under the name connectionAttributes in the format
      connectionAttributes=attr1:value1,attr2:value2
      
  • New option WITH_UNIT_TESTS to allow building the connector with or without tests (CONCPP-102)
    • 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 (CONCPP-116)
  • Minor issues related to compilation of the connector, like errors/warnings when enabling more compiler warnings (CONCPP-18) (CONCPP-110)

Installation

Install MariaDB Connector/C++

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.