mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix fur BUG#13348: "multi-table updates and deletes are not logged if no rows were affected".
Not fixed in 4.1 as not critical. Also I'm correcting error checking of multi-UPDATE/DELETE when it comes to binlogging, to make it consistent with when we rollback the statement.
This commit is contained in:
@ -19,4 +19,13 @@ a
|
||||
select * from t2;
|
||||
a
|
||||
1
|
||||
delete from t1;
|
||||
delete from t2;
|
||||
insert into t1 values(1);
|
||||
insert into t2 values(1);
|
||||
DELETE t1.*, t2.* from t1, t2;
|
||||
select * from t1;
|
||||
a
|
||||
select * from t2;
|
||||
a
|
||||
drop table t1,t2;
|
||||
|
Reference in New Issue
Block a user