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

Test fix for MaxScale:

Skip character set tests which set character set
during handshake, since MaxScale sends utf8mb4 via
session_track information in handshake OK packet.
(https://jira.mariadb.org/browse/MXS-4898).
This commit is contained in:
Georg Richter
2023-12-14 09:07:44 +01:00
parent b0a2f65f55
commit 00fb2062b9
2 changed files with 6 additions and 0 deletions

View File

@@ -47,6 +47,9 @@ int bug_8378(MYSQL *mysql) {
MYSQL_RES *res;
MYSQL_ROW row;
/* MXS-4898: MaxScale sends utf8mb4 in handshake OK packet */
SKIP_MAXSCALE;
len= mysql_real_escape_string(mysql, out, TEST_BUG8378_IN, 4);
FAIL_IF(memcmp(out, TEST_BUG8378_OUT, len), "wrong result");