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

fix connection unit test to work in mtr

This commit is contained in:
Sergei Golubchik
2019-02-01 13:01:28 +01:00
parent 82355ad11d
commit a4effc462d
2 changed files with 9 additions and 1 deletions

View File

@@ -139,6 +139,7 @@ static char *username = 0;
static int force_tls= 0;
static uchar is_mariadb= 0;
static char *this_host= 0;
static char *plugindir= 0;
static unsigned char travis_test= 0;
/*
static struct my_option test_options[] =
@@ -513,6 +514,8 @@ void get_envvars() {
socketname= envvar;
diag("socketname: %s", socketname);
}
if ((envvar= getenv("MYSQL_TEST_PLUGINDIR")))
plugindir= envvar;
}
MYSQL *my_test_connect(MYSQL *mysql,