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
2e96c47a
Commit
2e96c47a
authored
Jul 05, 2005
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post-merge fixes
parent
15d02e60
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
91 additions
and
93 deletions
+91
-93
mysql-test/r/query_cache.result
mysql-test/r/query_cache.result
+89
-90
sql/sql_cache.cc
sql/sql_cache.cc
+2
-3
No files found.
mysql-test/r/query_cache.result
View file @
2e96c47a
This diff is collapsed.
Click to expand it.
sql/sql_cache.cc
View file @
2e96c47a
...
...
@@ -278,7 +278,6 @@ TODO list:
- Move MRG_MYISAM table type processing to handlers, something like:
tables_used->table->file->register_used_filenames(callback,
first_argument);
- Make derived tables cachable.
- QC improvement suggested by Monty:
- Add a counter in open_table() for how many MERGE (ISAM or MyISAM)
tables are cached in the table cache.
...
...
@@ -2137,7 +2136,7 @@ Query_cache::register_tables_from_list(TABLE_LIST *tables_used,
{
if
(
tables_used
->
derived
)
{
DBUG_PRINT
(
"qcache"
,
(
"derived table skipped"
);
DBUG_PRINT
(
"qcache"
,
(
"derived table skipped"
)
)
;
n
--
;
block_table
--
;
continue
;
...
...
@@ -2785,7 +2784,7 @@ static TABLE_COUNTER_TYPE process_and_count_tables(TABLE_LIST *tables_used,
tables_used
->
table
->
s
->
table_name
,
tables_used
->
table
->
s
->
table_cache_key
,
tables_used
->
table
->
s
->
db_type
));
if
(
table_used
->
derived
)
if
(
table
s
_used
->
derived
)
{
table_count
--
;
DBUG_PRINT
(
"qcache"
,
(
"derived table skipped"
));
...
...
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