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
76383243
Commit
76383243
authored
Dec 13, 2011
by
Annamalai Gurusami
Browse files
Options
Browse Files
Download
Plain Diff
Merging from mysql-5.1 to mysql-5.5.
parents
091a2e3b
ad84fb5c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
1 deletion
+22
-1
mysql-test/suite/innodb/r/innodb.result
mysql-test/suite/innodb/r/innodb.result
+11
-0
mysql-test/suite/innodb/t/innodb.test
mysql-test/suite/innodb/t/innodb.test
+11
-0
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+0
-1
No files found.
mysql-test/suite/innodb/r/innodb.result
View file @
76383243
...
@@ -3191,3 +3191,14 @@ Handler_update 1
...
@@ -3191,3 +3191,14 @@ Handler_update 1
Variable_name Value
Variable_name Value
Handler_delete 1
Handler_delete 1
DROP TABLE bug58912;
DROP TABLE bug58912;
create table t1 (f1 integer primary key) engine=innodb;
flush status;
show status like "handler_read_key";
Variable_name Value
Handler_read_key 0
select f1 from t1;
f1
show status like "handler_read_key";
Variable_name Value
Handler_read_key 1
drop table t1;
mysql-test/suite/innodb/t/innodb.test
View file @
76383243
...
@@ -2578,6 +2578,17 @@ SET GLOBAL innodb_thread_concurrency = @innodb_thread_concurrency_orig;
...
@@ -2578,6 +2578,17 @@ SET GLOBAL innodb_thread_concurrency = @innodb_thread_concurrency_orig;
# Clean up after the Bug#55284/Bug#58912 test case.
# Clean up after the Bug#55284/Bug#58912 test case.
DROP
TABLE
bug58912
;
DROP
TABLE
bug58912
;
#
# Test fix for bug 13117023. InnoDB increments HA_READ_KEY_COUNT (aka
# HANDLER_READ_KEY) when it should not.
#
create
table
t1
(
f1
integer
primary
key
)
engine
=
innodb
;
flush
status
;
show
status
like
"handler_read_key"
;
select
f1
from
t1
;
show
status
like
"handler_read_key"
;
drop
table
t1
;
#######################################################################
#######################################################################
# #
# #
# Please, DO NOT TOUCH this file as well as the innodb.result file. #
# Please, DO NOT TOUCH this file as well as the innodb.result file. #
...
...
storage/innobase/handler/ha_innodb.cc
View file @
76383243
...
@@ -5792,7 +5792,6 @@ ha_innobase::innobase_get_index(
...
@@ -5792,7 +5792,6 @@ ha_innobase::innobase_get_index(
dict_index_t
*
index
=
0
;
dict_index_t
*
index
=
0
;
DBUG_ENTER
(
"innobase_get_index"
);
DBUG_ENTER
(
"innobase_get_index"
);
ha_statistic_increment
(
&
SSV
::
ha_read_key_count
);
if
(
keynr
!=
MAX_KEY
&&
table
->
s
->
keys
>
0
)
{
if
(
keynr
!=
MAX_KEY
&&
table
->
s
->
keys
>
0
)
{
key
=
table
->
key_info
+
keynr
;
key
=
table
->
key_info
+
keynr
;
...
...
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