1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-28982- race condition in charset_client_win.

Do not use chcp when mtr is running in parallel mode, since it possibly
resets the console charset, shared by all mtr processes and threads.
This commit is contained in:
Vladislav Vaintroub
2022-06-29 19:44:04 +02:00
parent b283fd40f9
commit 5ab9265677

View File

@ -1,3 +1,7 @@
--source include/windows.inc
--source include/no_utf8_cli.inc
if(!`select $MTR_PARALLEL = 1`)
{
skip race condition with parallel builds;
}
--exec chcp 1257 > NUL && $MYSQL --default-character-set=auto -e "select @@character_set_client"