1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00
SET character_set_connection=newcharset;
  SELECT hex('text');

The above sequence failed in some cases.
This commit is contained in:
unknown
2003-09-16 17:14:23 +05:00
parent 414bd57b33
commit 2e95bcc477
3 changed files with 14 additions and 0 deletions

View File

@ -70,3 +70,11 @@ SHOW TABLES IN
Tables_in_<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
SET CHARACTER SET koi8r;
DROP DATABASE <20><><EFBFBD><EFBFBD>;
SET NAMES koi8r;
SELECT hex('<27><><EFBFBD><EFBFBD>');
hex('<27><><EFBFBD><EFBFBD>')
D4C5D3D4
SET character_set_connection=cp1251;
SELECT hex('<27><><EFBFBD><EFBFBD>');
hex('<27><><EFBFBD><EFBFBD>')
F2E5F1F2

View File

@ -45,3 +45,8 @@ SHOW TABLES;
SHOW TABLES IN <20><><EFBFBD><EFBFBD>;
SET CHARACTER SET koi8r;
DROP DATABASE <20><><EFBFBD><EFBFBD>;
SET NAMES koi8r;
SELECT hex('<27><><EFBFBD><EFBFBD>');
SET character_set_connection=cp1251;
SELECT hex('<27><><EFBFBD><EFBFBD>');