1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-30 05:23:50 +03:00

MDEV-6805 one can set character_set_client to utf32

use the same restriction for character_set_client on the command line
and from SQL.

Also: remove strange hack from thd_init_client_charset() that contradicted
the manual (collation_connection and character_set_result were not always set)
This commit is contained in:
Sergei Golubchik
2014-11-18 22:25:47 +01:00
parent a8bd285f7c
commit ea04a8cfda
11 changed files with 21 additions and 9 deletions

View File

@@ -1,3 +1,4 @@
call mtr.add_suppression("Cannot use ucs2 as character_set_client");
show variables like 'collation_server';
Variable_name Value
collation_server ucs2_unicode_ci

View File

@@ -1,3 +1,4 @@
call mtr.add_suppression("Cannot use ucs2 as character_set_client");
#
# Start of 5.5 tests
#

View File

@@ -1,3 +1,4 @@
call mtr.add_suppression("Cannot use utf16 as character_set_client");
SHOW VARIABLES LIKE 'collation_server';
Variable_name Value
collation_server utf16_general_ci