mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
b66f34bd19
Implementing event based replication of LC_TIME_NAMES for 5.0 (as a replacement of previously made ONE_SHOT replication)
24 lines
501 B
Text
24 lines
501 B
Text
# Replication of locale variables
|
|
|
|
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;
|
|
sync_slave_with_master;
|
|
connection slave;
|
|
select * from t1;
|
|
connection master;
|
|
drop table t1;
|
|
sync_slave_with_master;
|
|
|
|
# End of 4.1 tests
|
|
|
|
|