| 1 |
# Replication of locale variables |
| 2 |
--source include/not_group_replication_plugin.inc |
| 3 |
source include/master-slave.inc; |
| 4 |
|
| 5 |
# |
| 6 |
# Bug#22645 LC_TIME_NAMES: Statement not replicated |
| 7 |
# |
| 8 |
connection master; |
| 9 |
create table t1 (s1 char(10)); |
| 10 |
set lc_time_names= 'de_DE'; |
| 11 |
insert into t1 values (date_format('2001-01-01','%W')); |
| 12 |
set lc_time_names= 'en_US'; |
| 13 |
insert into t1 values (date_format('2001-01-01','%W')); |
| 14 |
select * from t1; |
| 15 |
--source include/sync_slave_sql_with_master.inc |
| 16 |
connection slave; |
| 17 |
select * from t1; |
| 18 |
connection master; |
| 19 |
drop table t1; |
| 20 |
--source include/sync_slave_sql_with_master.inc |
| 21 |
|
| 22 |
# End of 4.1 tests |
| 23 |
|
| 24 |
|
| 25 |
--source include/rpl_end.inc |