1
by brian
clean slate |
1 |
# Replication of locale variables
|
2 |
||
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 |
sync_slave_with_master; |
|
16 |
connection slave; |
|
17 |
select * from t1; |
|
18 |
connection master; |
|
19 |
drop table t1; |
|
20 |
sync_slave_with_master; |
|
21 |
||
22 |
# End of 4.1 tests
|
|
23 |
||
24 |