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
964c292c
Commit
964c292c
authored
Nov 25, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo in last changeset
parent
22e418b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
mysys/mf_keycache.c
mysys/mf_keycache.c
+1
-1
sql/records.cc
sql/records.cc
+6
-6
No files found.
mysys/mf_keycache.c
View file @
964c292c
...
...
@@ -169,7 +169,7 @@ void end_key_cache(void)
}
}
key_cache_inited
=
0
;
_my_hash_blocks
=
my_blocks_used
=
0
;
_my_hash_blocks
=
_
my_blocks_used
=
0
;
DBUG_PRINT
(
"status"
,
(
"used: %d changed: %d w_requests: %ld writes: %ld r_requests: %ld reads: %ld"
,
_my_blocks_used
,
_my_blocks_changed
,
_my_cache_w_requests
,
...
...
sql/records.cc
View file @
964c292c
...
...
@@ -51,12 +51,7 @@ void init_read_record(READ_RECORD *info,THD *thd, TABLE *table,
tempfile
=
&
select
->
file
;
else
tempfile
=
table
->
io_cache
;
if
(
select
&&
select
->
quick
&&
(
!
tempfile
||
!
tempfile
->
buffer
))
{
DBUG_PRINT
(
"info"
,(
"using rr_quick"
));
info
->
read_record
=
rr_quick
;
}
else
if
(
tempfile
&&
my_b_inited
(
tempfile
))
// Test if ref-records was used
if
(
tempfile
&&
my_b_inited
(
tempfile
))
// Test if ref-records was used
{
DBUG_PRINT
(
"info"
,(
"using rr_from_tempfile"
));
info
->
read_record
=
rr_from_tempfile
;
...
...
@@ -84,6 +79,11 @@ void init_read_record(READ_RECORD *info,THD *thd, TABLE *table,
}
}
}
else
if
(
select
&&
select
->
quick
)
{
DBUG_PRINT
(
"info"
,(
"using rr_quick"
));
info
->
read_record
=
rr_quick
;
}
else
if
(
table
->
record_pointers
)
{
table
->
file
->
rnd_init
(
0
);
...
...
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