1include/master-slave.inc
2[connection master]
3#
4# Start of 10.2 tests
5#
6#
7# MDEV-14249 Wrong character set info of Query_log_event and the query in Query_log_event constructed by different charsets cause error when slave apply the event.
8#
9SET NAMES latin1;
10CREATE TABLE `tё` (`tё` INT);
11CREATE VIEW `vё` AS SELECT 'vё';
12CREATE PROCEDURE `pё`() SELECT 'pё';
13select hex(table_name) from information_schema.tables where table_schema="test" and table_name like "t%";
14hex(table_name)
1574C391E28098
16select  hex(table_name) from information_schema.tables where table_schema="test" and table_name like "v%";
17hex(table_name)
1876C391E28098
19connection slave;
20select hex(table_name) from information_schema.tables where table_schema="test" and table_name like "t%";
21hex(table_name)
2274C391E28098
23select  hex(table_name) from information_schema.tables where table_schema="test" and table_name like "v%";
24hex(table_name)
2576C391E28098
26SHOW PROCEDURE STATUS LIKE 'p%';
27Db	Name	Type	Definer	Modified	Created	Security_type	Comment	character_set_client	collation_connection	Database Collation
28test	pё	PROCEDURE	root@localhost	ts	ts	DEFINER		latin1	latin1_swedish_ci	latin1_swedish_ci
29connection master;
30DROP TABLE `tё`;
31DROP VIEW `vё`;
32DROP PROCEDURE `pё`;
33connection slave;
34include/rpl_end.inc
35