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

Remove unused include file

remove link to mariadbclient library
This commit is contained in:
Georg Richter
2017-01-21 19:36:16 +01:00
parent d202c987d5
commit 6655a8194e
12 changed files with 39 additions and 29 deletions

View File

@@ -1008,7 +1008,7 @@ error:
}
int STDCALL
mysql_ssl_set(MYSQL *mysql __attribute__((unused)),
mysql_ssl_set(MYSQL *mysql __attribute__((unused)),
const char *key __attribute__((unused)),
const char *cert __attribute__((unused)),
const char *ca __attribute__((unused)),
@@ -2672,6 +2672,9 @@ mysql_optionsv(MYSQL *mysql,enum mysql_option option, ...)
mysql->options.extension->report_progress=
(void (*)(const MYSQL *, uint, uint, double, const char *, uint)) arg1;
break;
case MYSQL_SERVER_PUBLIC_KEY:
OPT_SET_EXTENDED_VALUE_STR(&mysql->options, server_public_key, (char *)arg1);
break;
case MYSQL_PLUGIN_DIR:
OPT_SET_EXTENDED_VALUE_STR(&mysql->options, plugin_dir, (char *)arg1);
break;
@@ -3026,6 +3029,10 @@ mysql_get_optionv(MYSQL *mysql, enum mysql_option option, void *arg, ...)
*((void (**)(const MYSQL *, uint, uint, double, const char *, uint))arg)=
mysql->options.extension ? mysql->options.extension->report_progress : NULL;
break;
case MYSQL_SERVER_PUBLIC_KEY:
*((char **)arg)= mysql->options.extension ?
mysql->options.extension->server_public_key : NULL;
break;
case MYSQL_PLUGIN_DIR:
*((char **)arg)= mysql->options.extension ? mysql->options.extension->plugin_dir : NULL;
break;