You've already forked mariadb-connector-c
mirror of
https://github.com/mariadb-corporation/mariadb-connector-c.git
synced 2025-08-07 02:42:49 +03:00
Travis and test fixes:
- Build server build with latest C/C: Instead of copying the C/C directory into server, we now fetch the actual commit or PR into server repository - Fix travis environment variables (Windows) - Skip character set tests if the server doesn't support charset/collation - Don't use CREATE OR REPLACE SQL syntax to make MySQL happy - Disable TLS connection test for MaxScale - Don't set TEST environment variables if they are empty
This commit is contained in:
@@ -1544,7 +1544,10 @@ static int test_conc163(MYSQL *mysql)
|
||||
|
||||
FAIL_IF(mysql_info(mysql) != NULL, "mysql_info: expected NULL");
|
||||
|
||||
rc= mysql_query(mysql, "CREATE OR REPLACE TABLE t1 AS SELECT 1");
|
||||
rc= mysql_query(mysql, "DROP TABLE IF EXISTS t1");
|
||||
check_mysql_rc(rc, mysql);
|
||||
|
||||
rc= mysql_query(mysql, "CREATE TABLE t1 AS SELECT 1");
|
||||
check_mysql_rc(rc, mysql);
|
||||
|
||||
FAIL_IF(mysql_info(mysql) == NULL, "mysql_info: expected != NULL");
|
||||
@@ -1557,7 +1560,9 @@ static int test_conc163(MYSQL *mysql)
|
||||
check_stmt_rc(rc, stmt);
|
||||
FAIL_IF(mysql_info(mysql) != NULL, "mysql_info: expected NULL");
|
||||
|
||||
rc= mariadb_stmt_execute_direct(stmt, SL("CREATE OR REPLACE TABLE t1 AS SELECT 1"));
|
||||
rc= mysql_query(mysql, "DROP TABLE IF EXISTS t1");
|
||||
check_mysql_rc(rc, mysql);
|
||||
rc= mariadb_stmt_execute_direct(stmt, SL("CREATE TABLE t1 AS SELECT 1"));
|
||||
check_stmt_rc(rc, stmt);
|
||||
FAIL_IF(mysql_info(mysql) == NULL, "mysql_info: expected != NULL");
|
||||
|
||||
|
Reference in New Issue
Block a user