File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
integration-tests/source/mysql/test Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -967,13 +967,15 @@ unittest
967
967
mixin (scopedCn);
968
968
auto stmt = cn.prepare(
969
969
" SELECT * FROM information_schema.character_sets" ~
970
- " WHERE CHARACTER_SET_NAME=?" );
971
- auto val = " utf8" ;
972
- stmt.setArg(0 , val);
970
+ " WHERE CHARACTER_SET_NAME=? OR CHARACTER_SET_NAME=?" );
971
+ auto val1 = " utf8" ;
972
+ auto val2 = " utf8mb3" ;
973
+ stmt.setArg(0 , val1);
974
+ stmt.setArg(1 , val2);
973
975
auto row = cn.queryRow(stmt).get ;
974
976
assert (row.length == 4 );
975
- assert (row[0 ] == " utf8" );
976
- assert (row[1 ] == " utf8_general_ci" );
977
+ assert (row[0 ] == " utf8" || row[ 0 ] == " utf8mb3 " );
978
+ assert (row[1 ] == " utf8_general_ci" || row[ 1 ] == " utf8mb3_general_ci " );
977
979
assert (row[2 ] == " UTF-8 Unicode" );
978
980
assert (row[3 ] == 3 );
979
981
}
You can’t perform that action at this time.
0 commit comments