1
0
mirror of https://github.com/mariadb-corporation/mariadb-connector-c.git synced 2025-08-05 15:55:58 +03:00

Travis fix: Skip maxscale for test_mdev35935

This commit is contained in:
Georg Richter
2025-02-12 07:12:14 +01:00
parent 4bbfa5040e
commit 992c7f26dd
2 changed files with 4 additions and 2 deletions

View File

@@ -287,6 +287,7 @@ static int test_mdev35935(MYSQL *mysql)
MYSQL_BIND bind[2]; MYSQL_BIND bind[2];
const char *data= "test"; const char *data= "test";
SKIP_MAXSCALE;
SKIP_MYSQL(mysql); SKIP_MYSQL(mysql);
rc= mysql_select_db(mysql, schema); rc= mysql_select_db(mysql, schema);

View File

@@ -5001,7 +5001,7 @@ static int test_conc_fraction(MYSQL *mysql)
for (i=0; i < 10; i++, frac=frac*10+i) for (i=0; i < 10; i++, frac=frac*10+i)
{ {
my_ulonglong expected= 0; unsigned int expected= frac;
sprintf(query, "SELECT '2018-11-05 22:25:59.%ld'", frac); sprintf(query, "SELECT '2018-11-05 22:25:59.%ld'", frac);
diag("%d: %s", i, query); diag("%d: %s", i, query);
@@ -5027,7 +5027,8 @@ static int test_conc_fraction(MYSQL *mysql)
diag("second_part: %ld", tm.second_part); diag("second_part: %ld", tm.second_part);
expected= frac * 100000; while (expected && expected < 100000)
expected *= 10;
while (expected >= 1000000) while (expected >= 1000000)
expected /= 10; expected /= 10;