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:
@@ -547,6 +547,11 @@ static int test_bug30472(MYSQL *mysql)
|
||||
diag("Test requires MySQL Server version 5.1 or above");
|
||||
return SKIP;
|
||||
}
|
||||
if (mariadb_connection(mysql) && mysql_get_server_version(mysql) >= 110400)
|
||||
{
|
||||
diag("C/C 3.3 doesn't support all collations from 11.4 and above");
|
||||
return SKIP;
|
||||
}
|
||||
/* Retrieve character set information. */
|
||||
|
||||
mysql_set_character_set(mysql, "latin1");
|
||||
@@ -804,6 +809,13 @@ static int test_conc223(MYSQL *mysql)
|
||||
|
||||
SKIP_MYSQL(mysql);
|
||||
|
||||
if (mariadb_connection(mysql) && mysql_get_server_version(mysql) >= 110400)
|
||||
{
|
||||
diag("C/C 3.3 doesn't support all collations from 11.4 and above");
|
||||
return SKIP;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
Test if we're running against an MDEV-27266 server.
|
||||
It can be detected by the presense of the FULL_COLLATION_NAME
|
||||
|
Reference in New Issue
Block a user