mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
Fix for Bug#16905 Log tables: unicode statements are logged incorrectly
This commit is contained in:
@@ -52,3 +52,15 @@ select "Mark that we woke up from TRUNCATE in the test"
|
||||
as "test passed";
|
||||
test passed
|
||||
Mark that we woke up from TRUNCATE in the test
|
||||
use test;
|
||||
truncate table mysql.general_log;
|
||||
set names utf8;
|
||||
create table bug16905 (s char(15) character set utf8 default 'пусто');
|
||||
insert into bug16905 values ('новое');
|
||||
select * from mysql.general_log;
|
||||
event_time user_host thread_id server_id command_type argument
|
||||
TIMESTAMP root[root] @ localhost [] 2 1 Query set names utf8
|
||||
TIMESTAMP root[root] @ localhost [] 2 1 Query create table bug16905 (s char(15) character set utf8 default 'пусто')
|
||||
TIMESTAMP root[root] @ localhost [] 2 1 Query insert into bug16905 values ('новое')
|
||||
TIMESTAMP root[root] @ localhost [] 2 1 Query select * from mysql.general_log
|
||||
drop table bug16905;
|
||||
|
Reference in New Issue
Block a user