mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Updated results after merge from 3.23
This commit is contained in:
20
mysql-test/r/innodb-deadlock.result
Normal file
20
mysql-test/r/innodb-deadlock.result
Normal file
@ -0,0 +1,20 @@
|
||||
drop table if exists t1;
|
||||
create table t1 (id integer, x integer) type=INNODB;
|
||||
insert into t1 values(0, 0);
|
||||
set autocommit=0;
|
||||
SELECT * from t1 where id = 0 FOR UPDATE;
|
||||
id x
|
||||
0 0
|
||||
set autocommit=0;
|
||||
update t1 set x=2 where id = 0;
|
||||
update t1 set x=1 where id = 0;
|
||||
select * from t1;
|
||||
id x
|
||||
0 1
|
||||
commit;
|
||||
commit;
|
||||
select * from t1;
|
||||
id x
|
||||
0 2
|
||||
commit;
|
||||
drop table t1;
|
Reference in New Issue
Block a user