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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user