mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
5804bb4ef0
Restore the detection of default charset in command line utilities. It worked up to 10.1, but was broken by Connector/C. Moved code for detection of default charset from sql-common/client.c to mysys, and make command line utilities to use this code if charset was not specified on the command line.
2 lines
126 B
Text
2 lines
126 B
Text
--source include/windows.inc
|
|
--exec chcp 1257 > NUL && $MYSQL --default-character-set=auto -e "select @@character_set_client"
|