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

Renamed MYSQL_COM_* to COM_

changed default schema for tests to test_c
This commit is contained in:
Georg Richter
2015-11-02 15:19:10 +01:00
parent 630d742b89
commit dd29c4abec
8 changed files with 125 additions and 127 deletions

View File

@@ -101,7 +101,7 @@ struct my_tests_st
char *skipmsg;
};
static char *schema = "test";
static char *schema = "test_c";
static char *hostname = 0;
static char *password = 0;
static unsigned int port = 0;
@@ -390,7 +390,7 @@ MYSQL *test_connect(struct my_tests_st *test) {
}
}
if (!(mysql_real_connect(mysql, hostname, username, password,
schema, port, socketname, (test) ? test->connect_flags:0)))
NULL, port, socketname, (test) ? test->connect_flags:0)))
{
diag("Couldn't establish connection to server %s. Error (%d): %s",
hostname, mysql_errno(mysql), mysql_error(mysql));