> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/release-notes/connectors/c/3.0/3.0.2.md).

# Connector/C 3.0.2 Release notes

Release notes for MariaDB Connector/C 3.0.2, a Stable (GA) release published 20 July 2017.

{% hint style="info" %}

<p align="center">The most recent release of <a href="/docs/connectors/mariadb-connector-c.md">MariaDB Connector/C</a> is: <a href="/docs/release-notes/connectors/c/3.4/3.4.11.md"><strong>3.4.11</strong></a></p>

<p align="center"><a href="https://mariadb.com/downloads/connectors/connectors-data-access/c-connector" class="button primary">Download Connector/C 3.4.11</a></p>
{% endhint %}

[Download](https://downloads.mariadb.org/connector-c/3.0.2)[Release Notes](/docs/release-notes/connectors/c/3.0/3.0.2.md)[Changelog](/docs/release-notes/connectors/c/changelogs/3.0/3.0.2.md)[About MariaDB Connector/C](/docs/connectors/mariadb-connector-c.md)

**Release date:** 20 July 2017

This is a [***Stable***](/docs/release-notes/community-server/about/release-criteria.md) ***(GA)*** release of the MariaDB\
Connector/C, formerly known as MariaDB Client Library for C.

**For a description of this library see the**[**MariaDB Connector/C**](/docs/connectors/mariadb-connector-c.md) **page.**

## Features

* Array support for prepared statements (bulk operations)
* TLS/SSL support for GnuTLS, Windows SChannel and LibreSSL
* Support for passphrase protected keys
* SHA256 authentication plugin

## New API functions

* mariadb\_get\_info and mariadb\_get\_infov (variable argument list): for obtaining general and connection specific values.
* mariadb\_get\_charset\_by\_name and mariadb\_get\_charset\_by\_nr: returns character set information for a given internal number or name of character set. These functions have been previously used internally by MariaDB Connector/ODBC and are now exported, so they can be used also within plugins.
* mysql\_reconnect which was used internally before (if the option MYSQL\_OPT\_RECONNECT was set) is now part of the API and can be used by applications and plugins to reestablish a failing connection
* mariadb\_cancel: aborts a connection immediately by making all subsequent read/write operations fail
* mariadb\_stmt\_execute\_direct: prepares and executes a prepared statement for one time execution
* mysql\_stmt\_warning\_count returns: the number of warnings from the last executed statement
* mysql\_reset\_connection: resets the current connection and clears session state
* Functions for obtaining session state changes:
  * mysql\_session\_track\_get\_first()
  * mysql\_session\_track\_get\_next()

## Notable Bug fixes

* [MDEV-13317](https://jira.mariadb.org/browse/MDEV-13317): Crash in PHP5 when using libmariadb and curl mpdules
* [MDEV-13320](https://jira.mariadb.org/browse/MDEV-13320): Wrong output for mariadb\_config on OSX
* [MDEV-12889](https://jira.mariadb.org/browse/MDEV-12889): Missing version info for shared object
* [MDEV-12965](https://jira.mariadb.org/browse/MDEV-12965): Connector/C reads only the first configuration file
* [MDEV-13100](https://jira.mariadb.org/browse/MDEV-13100): Can't read custom config file
* [MDEV-12423](https://jira.mariadb.org/browse/MDEV-12423): Install fails to create symlinks
* [MDEV-13040](https://jira.mariadb.org/browse/MDEV-13040): mariadb\_stmt.h contains c++ comments
* [MDEV-12763](https://jira.mariadb.org/browse/MDEV-12763): Don't use deprecated API calls with OpenSSL 1.1
* [MDEV-12247](https://jira.mariadb.org/browse/MDEV-12247): Server does not respond for single query execution
* [MDEV-12446](https://jira.mariadb.org/browse/MDEV-12446): double free if no default configuration is present
* [MDEV-11708](https://jira.mariadb.org/browse/MDEV-11708): cmake with option -DWITH\_ASAN no longer works
* [MDEV-11008](https://jira.mariadb.org/browse/MDEV-11008): Connector/C integration does not respect INSTALL\_LIBDIR or INSTALL\_DOCDIR
* [MDEV-10894](https://jira.mariadb.org/browse/MDEV-10894): Fixed conversion for big-endian platforms
* [CONC-252](https://jira.mariadb.org/browse/CONC-252): Use unsigned long instead of size\_t for api functions
* [CONC-265](https://jira.mariadb.org/browse/CONC-265): Big endian fixes
* [CONC-253](https://jira.mariadb.org/browse/CONC-253): Compiler warnings in gssapi\_client.c
* [CONC-250](https://jira.mariadb.org/browse/CONC-250): Added support for wildcards and SAN
* [CONC-231](https://jira.mariadb.org/browse/CONC-231): Incorrect FSF address
* [CONC-224](https://jira.mariadb.org/browse/CONC-224): Allow to build without TLS support
* [CONC-223](https://jira.mariadb.org/browse/CONC-223): Added missing collations
* [CONC-222](https://jira.mariadb.org/browse/CONC-222): Installation fixes for missing include files

For a list of changes made in this release, with links to detailed information on each push, see the [changelog](/docs/release-notes/connectors/c/changelogs/3.0/3.0.2.md).

{% hint style="info" %}
Be notified of new MariaDB Server releases automatically by [subscribing](https://lists.mariadb.org/postorius/lists/announce.lists.mariadb.org/) to the MariaDB Foundation community announce 'at' lists.mariadb.org announcement list (this is a low traffic, announce-only list). MariaDB plc customers will be notified for all new releases, security issues and critical bug fixes for all MariaDB plc products thanks to the Notification Services.

MariaDB may already be included in your favorite OS distribution. More information can be found on the [Distributions which Include MariaDB](/docs/general-resources/distributions-including-mariadb.md) page.
{% endhint %}

<sub>*This page is licensed: CC BY-SA / Gnu FDL*</sub>

{% @marketo/form formid="4316" formId="4316" %}
