mirror of
https://github.com/MariaDB/server.git
synced 2025-02-09 23:24:11 +01:00
15 lines
380 B
Text
15 lines
380 B
Text
source include/master-slave.inc;
|
|
|
|
#
|
|
# MDEV-13417 UPDATE produces wrong values if an updated column is later used as an update source
|
|
#
|
|
set sql_mode=simultaneous_assignment;
|
|
create table t1 (a int, b int);
|
|
insert into t1 values(1, 2);
|
|
update t1 set a=b, b=a;
|
|
select * from t1;
|
|
sync_slave_with_master;
|
|
select * from t1;
|
|
connection master;
|
|
drop table t1;
|
|
source include/rpl_end.inc;
|