Update result format

parent fdbdc679
...@@ -220,7 +220,7 @@ select (@before:=unix_timestamp())*0; ...@@ -220,7 +220,7 @@ select (@before:=unix_timestamp())*0;
(@before:=unix_timestamp())*0 (@before:=unix_timestamp())*0
0 0
begin; begin;
select * from t1 for update; select * from t1 for update;
insert into t2 values (20); insert into t2 values (20);
ERROR HY000: Lock wait timeout exceeded; try restarting transaction ERROR HY000: Lock wait timeout exceeded; try restarting transaction
select (@after:=unix_timestamp())*0; select (@after:=unix_timestamp())*0;
......
...@@ -21,7 +21,7 @@ END| ...@@ -21,7 +21,7 @@ END|
SELECT get_lock("test", 200); SELECT get_lock("test", 200);
get_lock("test", 200) get_lock("test", 200)
1 1
CALL test.p1(); CALL test.p1();
CALL test.p2(); CALL test.p2();
SELECT release_lock("test"); SELECT release_lock("test");
release_lock("test") release_lock("test")
......
...@@ -21,7 +21,7 @@ END| ...@@ -21,7 +21,7 @@ END|
SELECT get_lock("test", 200); SELECT get_lock("test", 200);
get_lock("test", 200) get_lock("test", 200)
1 1
CALL test.p1(); CALL test.p1();
CALL test.p2(); CALL test.p2();
SELECT release_lock("test"); SELECT release_lock("test");
release_lock("test") release_lock("test")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment