1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Bug #29307: status.test fails with different Table_locks_immediate

Finish premature patch which was accidentally pushed; remove debugging
info and correct the test.


mysql-test/r/status.result:
  Correct test results
mysql-test/t/status.test:
  Disable query log for one statement, and correct some comments
This commit is contained in:
unknown
2007-08-18 02:28:08 -06:00
parent 994625d64f
commit 0ece5608fc
2 changed files with 10 additions and 11 deletions

View File

@ -16,14 +16,11 @@ unlock tables;
lock tables t1 read;
update t1 set n = 3;
unlock tables;
show status like 'Table_lock%';
show status like 'Table_locks_waited';
Variable_name Value
Table_locks_immediate 17
Table_locks_waited 1
select * from information_schema.session_status where variable_name like 'Table_lock%';
VARIABLE_NAME VARIABLE_VALUE
TABLE_LOCKS_IMMEDIATE 18
TABLE_LOCKS_WAITED 1
Immediate
17
drop table t1;
select 1;
1