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:
@ -1,3 +1,7 @@
|
|||||||
--source include/windows.inc
|
--source include/windows.inc
|
||||||
--source include/no_utf8_cli.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"
|
--exec chcp 1257 > NUL && $MYSQL --default-character-set=auto -e "select @@character_set_client"
|
||||||
|
Reference in New Issue
Block a user