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

Moved connection_handler to mysql->extension

This commit is contained in:
Georg Richter
2016-03-29 09:44:03 +02:00
parent bea035a72b
commit 21be8f4eef
7 changed files with 52 additions and 48 deletions

View File

@@ -1023,13 +1023,14 @@ static int test_remote1(MYSQL *mysql)
static int test_remote2(MYSQL *my)
{
MYSQL *mysql= mysql_init(NULL);
MYSQL *mysql;
if (!remote_plugin)
{
diag("skip - no remote io plugin available");
return SKIP;
}
mysql= mysql_init(NULL);
mysql_options(mysql, MYSQL_READ_DEFAULT_FILE, "http://localhost/test.cnf");
mysql_options(mysql, MYSQL_READ_DEFAULT_GROUP, "test");