1
0
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:
monty@mashka.mysql.fi
2002-11-24 21:39:22 +02:00
parent a976101661
commit 7dede8d303
3 changed files with 74 additions and 0 deletions

View 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;