Skip to content
Permalink
Browse files
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.
  • Loading branch information
vaintroub committed Jun 29, 2022
1 parent b283fd4 commit 5ab9265
Showing 1 changed file with 4 additions and 0 deletions.
@@ -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"

0 comments on commit 5ab9265

Please sign in to comment.