Skip to content

Commit

Permalink
Character set test:
Browse files Browse the repository at this point in the history
Added diagnostic output.
  • Loading branch information
9EOR9 committed Dec 14, 2023
1 parent ba55b5b commit b0a2f65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unittest/libmariadb/connection.c
Original file line number Diff line number Diff line change
Expand Up @@ -1240,6 +1240,7 @@ static int test_mdev13100(MYSQL *my __attribute__((unused)))
diag("Error: %s", mysql_error(mysql));
return FAIL;
}
diag("Default charset: %s", mysql_character_set_name(mysql));
FAIL_IF(strcmp("latin2", mysql_character_set_name(mysql)), "Expected charset latin2");
mysql_close(mysql);

Expand Down

0 comments on commit b0a2f65

Please sign in to comment.