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

Fix character set test.

Added a list of unsupported collations which
were added in 11.5
This commit is contained in:
Georg Richter
2024-05-10 10:26:44 +02:00
parent 923a0092e3
commit cba62ec2be

View File

@@ -794,6 +794,10 @@ static int test_conc223(MYSQL *mysql)
MYSQL_ROW row;
int found= 0;
int mdev27266= 0;
int unsupported[]= {
579, /* utf8mb3_general1400_as_ci added in 11.5 */
611, /* utf8mb4_general1400_as_ci added in 11.5 */
0};
SKIP_MYSQL(mysql);
@@ -839,8 +843,11 @@ static int test_conc223(MYSQL *mysql)
id= atoi(row[0]);
if (!mariadb_get_charset_by_nr(id))
{
diag("%04d %s %s", id, row[1], row[2]);
int j=0;
found++;
for (j=0; unsupported[j]; j++)
if (unsupported[j] == id)
found--;
}
}
}