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

Added support for options in options->extension

This commit is contained in:
Georg Richter
2013-01-23 07:25:26 +01:00
parent 326b3be305
commit 65b256cd1f
3 changed files with 227 additions and 149 deletions

View File

@@ -182,9 +182,9 @@ enum mysql_option
MYSQL_REPORT_DATA_TRUNCATION,
MYSQL_OPT_RECONNECT,
MYSQL_OPT_SSL_VERIFY_SERVER_CERT,
MYSQL_OPT_PLUGIN_DIR,
MYSQL_OPT_DEFAULT_AUTH,
MYSQL_OPT_PROGRESS_CALLBACK
MYSQL_PLUGIN_DIR,
MYSQL_DEFAULT_AUTH,
MYSQL_PROGRESS_CALLBACK
};
enum mysql_status { MYSQL_STATUS_READY,
@@ -208,7 +208,7 @@ struct st_mysql_options {
unsigned int port, protocol;
unsigned long client_flag;
char *host,*user,*password,*unix_socket,*db;
char *init_command;
struct st_dynamic_array *init_command;
char *my_cnf_file,*my_cnf_group, *charset_dir, *charset_name;
char *ssl_key; /* PEM key file */
char *ssl_cert; /* PEM cert file */