diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2021-12-03 14:21:13 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2021-12-03 15:36:40 +0100 |
commit | dd01f8a94183702f98906913cebebe0a61de3f47 (patch) | |
tree | 4099970a622c22247289f5f734372180ffa765f4 /client/mysqlcheck.c | |
parent | 4ac7001728c70dd54204143510992a06f6f1915e (diff) | |
download | mariadb-git-10.8-MDEV-26713.tar.gz |
Adjust console codepage for other utilities working with console10.8-MDEV-26713
Diffstat (limited to 'client/mysqlcheck.c')
-rw-r--r-- | client/mysqlcheck.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c index 480308aa015..eb063765a37 100644 --- a/client/mysqlcheck.c +++ b/client/mysqlcheck.c @@ -503,6 +503,7 @@ static int get_options(int *argc, char ***argv) printf("Unsupported character set: %s\n", default_charset); DBUG_RETURN(1); } + my_set_console_cp(default_charset); if (*argc > 0 && opt_alldbs) { printf("You should give only options, no arguments at all, with option\n"); |