Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
4b7a4efa
Commit
4b7a4efa
authored
Oct 23, 2007
by
ramil/ram@ramil.myoffice.izhnet.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/ram/work/mysql-5.1-maint
into mysql.com:/home/ram/work/b31285/b31285.5.1
parents
5a42bb96
0dfe3a8d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
mysql-test/r/status.result
mysql-test/r/status.result
+3
-0
mysql-test/t/status.test
mysql-test/t/status.test
+3
-0
No files found.
mysql-test/r/status.result
View file @
4b7a4efa
...
...
@@ -8,6 +8,8 @@ VARIABLE_NAME VARIABLE_VALUE
TABLE_LOCKS_IMMEDIATE 2
TABLE_LOCKS_WAITED 0
SET SQL_LOG_BIN=0;
set @old_general_log = @@global.general_log;
set global general_log = 'OFF';
drop table if exists t1;
create table t1(n int) engine=myisam;
insert into t1 values(1);
...
...
@@ -20,6 +22,7 @@ show status like 'Table_locks_waited';
Variable_name Value
Table_locks_waited 1
drop table t1;
set global general_log = @old_general_log;
select 1;
1
1
...
...
mysql-test/t/status.test
View file @
4b7a4efa
...
...
@@ -21,6 +21,8 @@ select * from information_schema.session_status where variable_name like 'Table_
connection
con1
;
# ++Immediate = 3
SET
SQL_LOG_BIN
=
0
;
set
@
old_general_log
=
@@
global
.
general_log
;
set
global
general_log
=
'OFF'
;
--
disable_warnings
# ++Immediate = 4
drop
table
if
exists
t1
;
...
...
@@ -60,6 +62,7 @@ reap;
# ++Immediate = 16 + $wait_condition_reps
show
status
like
'Table_locks_waited'
;
drop
table
t1
;
set
global
general_log
=
@
old_general_log
;
disconnect
con2
;
disconnect
con1
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment