mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
224660d14a
Problem: replication of LC_TIME_NAMES didn't work. Thus, INSERTS or UPDATES using date_format() always worked with en_US on the slave side. Fix: adding ONE_SHOT implementation for LC_TIME_NAMES.
16 lines
336 B
Text
16 lines
336 B
Text
stop slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
start slave;
|
|
create table t1 (s1 char(10));
|
|
set lc_time_names= 'de_DE';
|
|
insert into t1 values (date_format('2001-01-01','%W'));
|
|
select * from t1;
|
|
s1
|
|
Montag
|
|
select * from t1;
|
|
s1
|
|
Montag
|
|
drop table t1;
|