1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix for Bug#16905 Log tables: unicode statements are logged incorrectly

This commit is contained in:
petr@mysql.com
2006-02-03 13:05:14 +03:00
parent 01ef1d13f8
commit b221e37b7d
4 changed files with 49 additions and 13 deletions

View File

@ -144,7 +144,25 @@ reap;
select "Mark that we woke up from TRUNCATE in the test"
as "test passed";
connection con1;
disconnect con2;
use test;
#
# Bug #16905 Log tables: unicode statements are logged incorrectly
#
truncate table mysql.general_log;
set names utf8;
create table bug16905 (s char(15) character set utf8 default 'пусто');
insert into bug16905 values ('новое');
--replace_column 1 TIMESTAMP
select * from mysql.general_log;
drop table bug16905;
disconnect con1;
--enable_ps_protocol