summaryrefslogtreecommitdiff
path: root/mysql-test/r/lock_multi.result
diff options
context:
space:
mode:
authorunknown <davi@mysql.com/endora.local>2008-01-29 10:37:44 -0200
committerunknown <davi@mysql.com/endora.local>2008-01-29 10:37:44 -0200
commitb46d5d6b2fbf5cd67c9c853f489221d50bec973a (patch)
treed9a546db24be7f7ced8d4c5ddd8f9e683b2bf236 /mysql-test/r/lock_multi.result
parentcdc66b12c5efc66b8148f98fc78134e7db938080 (diff)
downloadmariadb-git-b46d5d6b2fbf5cd67c9c853f489221d50bec973a.tar.gz
Fix test case of Bug 30331
mysql-test/r/lock_multi.result: Update test case result. mysql-test/t/lock_multi.test: Don't print the value of Table_lock_waited, check the precedence instead. Unlock the table before dropping.
Diffstat (limited to 'mysql-test/r/lock_multi.result')
-rw-r--r--mysql-test/r/lock_multi.result10
1 files changed, 4 insertions, 6 deletions
diff --git a/mysql-test/r/lock_multi.result b/mysql-test/r/lock_multi.result
index e17b56e0695..cd05fc1473f 100644
--- a/mysql-test/r/lock_multi.result
+++ b/mysql-test/r/lock_multi.result
@@ -147,12 +147,10 @@ drop table if exists t1,t2;
create table t1 (a int);
flush status;
lock tables t1 read;
-show status like 'Table_locks_waited';
-Variable_name Value
-Table_locks_waited 0
insert into t1 values(1);;
+unlock tables;
drop table t1;
-show status like 'Table_locks_waited';
-Variable_name Value
-Table_locks_waited 1
+select @tlwa < @tlwb;
+@tlwa < @tlwb
+1
End of 5.1 tests