# Replication of locale variables
--source include/not_group_replication_plugin.inc
source include/master-slave.inc;

#
# Bug#22645 LC_TIME_NAMES: Statement not replicated
#
connection master;
create table t1 (s1 char(10));
set lc_time_names= 'de_DE';
insert into t1 values (date_format('2001-01-01','%W'));
set lc_time_names= 'en_US';
insert into t1 values (date_format('2001-01-01','%W'));
select * from t1;
--source include/sync_slave_sql_with_master.inc
connection slave;
select * from t1;
connection master;
drop table t1;
--source include/sync_slave_sql_with_master.inc

# End of 4.1 tests


--source include/rpl_end.inc
