1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-08 14:02:17 +03:00

Added new option MARIADB_OPT_USERDATA.

Syntax: mysql_optionsv(MYSQL *mysql, MYSQL_OPT_USERDATA, void *key, void
*data)
This commit is contained in:
Georg Richter
2015-12-14 11:56:17 +01:00
parent da017f5381
commit 4c7e5cbd1b
6 changed files with 106 additions and 38 deletions

View File

@@ -215,7 +215,8 @@ extern unsigned int mariadb_deinitialize_ssl;
MARIADB_OPT_SSL_FP_LIST, /* finger print white list for server certificate verification */
MARIADB_OPT_SSL_PASSWORD, /* password for encrypted certificates */
MARIADB_OPT_CONNECTION_READ_ONLY,
MYSQL_OPT_CONNECT_ATTRS /* for mysql_get_optionv */
MYSQL_OPT_CONNECT_ATTRS, /* for mysql_get_optionv */
MARIADB_OPT_USERDATA,
};
enum mysql_status { MYSQL_STATUS_READY,