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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
e1081611
Commit
e1081611
authored
Jan 25, 2012
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update handler status variables after the last commit.
parent
2ae3fca4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
4 deletions
+14
-4
mysql-test/r/myisam_mrr.result
mysql-test/r/myisam_mrr.result
+3
-3
mysql-test/r/status.result
mysql-test/r/status.result
+7
-1
mysql-test/r/status_user.result
mysql-test/r/status_user.result
+3
-0
mysql-test/t/myisam_mrr.test
mysql-test/t/myisam_mrr.test
+1
-0
No files found.
mysql-test/r/myisam_mrr.result
View file @
e1081611
...
@@ -628,9 +628,9 @@ sum(t1.b)
...
@@ -628,9 +628,9 @@ sum(t1.b)
1230
1230
show status like 'handler_mrr%';
show status like 'handler_mrr%';
Variable_name Value
Variable_name Value
Handler_mrr_extra_key_sorts 1
Handler_mrr_extra_key_sorts 1
or2
Handler_mrr_extra_rowid_sorts 1
Handler_mrr_extra_rowid_sorts 1
or2
Handler_mrr_init 2
Handler_mrr_init
1or
2
set join_cache_level= @join_cache_level_save;
set join_cache_level= @join_cache_level_save;
set join_buffer_size= @join_buffer_size_save;
set join_buffer_size= @join_buffer_size_save;
drop table t0, t1;
drop table t0, t1;
...
...
mysql-test/r/status.result
View file @
e1081611
...
@@ -275,6 +275,9 @@ Variable_name Value
...
@@ -275,6 +275,9 @@ Variable_name Value
Handler_commit 0
Handler_commit 0
Handler_delete 0
Handler_delete 0
Handler_discover 0
Handler_discover 0
Handler_mrr_extra_key_sorts 0
Handler_mrr_extra_rowid_sorts 0
Handler_mrr_init 0
Handler_prepare 0
Handler_prepare 0
Handler_read_first 0
Handler_read_first 0
Handler_read_key 4
Handler_read_key 4
...
@@ -297,7 +300,7 @@ Created_tmp_files 0
...
@@ -297,7 +300,7 @@ Created_tmp_files 0
Created_tmp_tables 2
Created_tmp_tables 2
Handler_tmp_update 2
Handler_tmp_update 2
Handler_tmp_write 7
Handler_tmp_write 7
Rows_tmp_read 3
5
Rows_tmp_read 3
8
drop table t1;
drop table t1;
CREATE TABLE t1 (i int(11) DEFAULT NULL, KEY i (i) ) ENGINE=MyISAM;
CREATE TABLE t1 (i int(11) DEFAULT NULL, KEY i (i) ) ENGINE=MyISAM;
insert into t1 values (1),(2),(3),(4),(5);
insert into t1 values (1),(2),(3),(4),(5);
...
@@ -310,6 +313,9 @@ Variable_name Value
...
@@ -310,6 +313,9 @@ Variable_name Value
Handler_commit 0
Handler_commit 0
Handler_delete 0
Handler_delete 0
Handler_discover 0
Handler_discover 0
Handler_mrr_extra_key_sorts 0
Handler_mrr_extra_rowid_sorts 0
Handler_mrr_init 0
Handler_prepare 0
Handler_prepare 0
Handler_read_first 0
Handler_read_first 0
Handler_read_key 2
Handler_read_key 2
...
...
mysql-test/r/status_user.result
View file @
e1081611
...
@@ -100,6 +100,9 @@ Variable_name Value
...
@@ -100,6 +100,9 @@ Variable_name Value
Handler_commit 19
Handler_commit 19
Handler_delete 1
Handler_delete 1
Handler_discover 0
Handler_discover 0
Handler_mrr_extra_key_sorts 0
Handler_mrr_extra_rowid_sorts 0
Handler_mrr_init 0
Handler_prepare 18
Handler_prepare 18
Handler_read_first 0
Handler_read_first 0
Handler_read_key 3
Handler_read_key 3
...
...
mysql-test/t/myisam_mrr.test
View file @
e1081611
...
@@ -313,6 +313,7 @@ set join_buffer_size=10;
...
@@ -313,6 +313,7 @@ set join_buffer_size=10;
explain
select
sum
(
t1
.
b
)
from
t0
,
t1
where
t0
.
a
=
t1
.
a
;
explain
select
sum
(
t1
.
b
)
from
t0
,
t1
where
t0
.
a
=
t1
.
a
;
flush
status
;
flush
status
;
select
sum
(
t1
.
b
)
from
t0
,
t1
where
t0
.
a
=
t1
.
a
;
select
sum
(
t1
.
b
)
from
t0
,
t1
where
t0
.
a
=
t1
.
a
;
--
replace_result
1
1
or2
2
1
or2
show
status
like
'handler_mrr%'
;
show
status
like
'handler_mrr%'
;
set
join_cache_level
=
@
join_cache_level_save
;
set
join_cache_level
=
@
join_cache_level_save
;
...
...
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