-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-16220 MTR - do not pass UTF8 on the command line for mysql client.
It should work ok on all Unixes, but on Windows ,only worked by accident in the past, with client not being Unicode safe. It stopped working with Visual Studio 2017 15.7 update now.
- Loading branch information
Showing
6 changed files
with
68 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
set names utf8; | ||
grant select on test.* to юзер_юзер@localhost; | ||
user() | ||
юзер_юзер@localhost | ||
revoke all on test.* from юзер_юзер@localhost; | ||
drop user юзер_юзер@localhost; | ||
set names default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# UTF8 parameters to mysql client do not work on Windows | ||
--source include/not_windows.inc | ||
--source include/not_embedded.inc | ||
|
||
# | ||
# Bug#21432 Database/Table name limited to 64 bytes, not chars, problems with multi-byte | ||
# | ||
set names utf8; | ||
grant select on test.* to юзер_юзер@localhost; | ||
--exec $MYSQL --default-character-set=utf8 --user=юзер_юзер -e "select user()" | ||
revoke all on test.* from юзер_юзер@localhost; | ||
drop user юзер_юзер@localhost; | ||
set names default; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters