Release Notes for MariaDB Connector/C++ 1.0.3

Overview

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)