diff options
author | unknown <dlenev@mockturtle.local> | 2007-08-05 13:55:37 +0400 |
---|---|---|
committer | unknown <dlenev@mockturtle.local> | 2007-08-05 13:55:37 +0400 |
commit | 8860704088c0269b2e2c2ec95db3b480e2a6216c (patch) | |
tree | 8772387e248882a2040e57be50ecc023052dae9b /mysql-test/r/lock_multi.result | |
parent | 5b25fc54055c5a609f92018997903643d95cf967 (diff) | |
download | mariadb-git-8860704088c0269b2e2c2ec95db3b480e2a6216c.tar.gz |
Added test for bug #21281 "Pending write lock is incorrectly removed
when its statement being KILLed". The bug itself was fixed by separate
patch in 5.0 tree.
mysql-test/r/lock_multi.result:
Added test for bug #21281 "Pending write lock is incorrectly removed
when its statement being KILLed".
mysql-test/t/lock_multi.test:
Added test for bug #21281 "Pending write lock is incorrectly removed
when its statement being KILLed".
Diffstat (limited to 'mysql-test/r/lock_multi.result')
-rw-r--r-- | mysql-test/r/lock_multi.result | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/r/lock_multi.result b/mysql-test/r/lock_multi.result index 2445b3e0c69..a3f7ab4505c 100644 --- a/mysql-test/r/lock_multi.result +++ b/mysql-test/r/lock_multi.result @@ -95,3 +95,13 @@ alter table t1 auto_increment=0; alter table t1 auto_increment=0; alter table t1 alter table t1 auto_increment=0; alter table t1 auto_increment=0; alter table t1 auto_increment=0; alter table t1 auto_increment=0; alter table t1 auto_increment=0; // unlock tables; drop table t1; +create table t1 (i int); +lock table t1 read; +update t1 set i= 10;; +select * from t1;; +kill query ID; +i +ERROR 70100: Query execution was interrupted +unlock tables; +drop table t1; +End of 5.1 tests |