diff options
author | unknown <sanja@askmonty.org> | 2011-08-12 13:54:41 +0300 |
---|---|---|
committer | unknown <sanja@askmonty.org> | 2011-08-12 13:54:41 +0300 |
commit | 52e70226bccc005b88eca482bccdd91e63ed222b (patch) | |
tree | deab65fd07a3b39cd8cabe66a2d58771e860868c /sql/sql_expression_cache.h | |
parent | fede2ee7f154c44a6b3e4d97db8f81c9d8a66e57 (diff) | |
download | mariadb-git-52e70226bccc005b88eca482bccdd91e63ed222b.tar.gz |
Early check of subquery cache hit rate added to limit its performance impact in the worst case.
sql/sql_expression_cache.cc:
Early check of subquery cache hit rate added to limit its performance impact in the worst case.
Disabling cache moved to method.
sql/sql_expression_cache.h:
Disabling cache moved to method.
Diffstat (limited to 'sql/sql_expression_cache.h')
-rw-r--r-- | sql/sql_expression_cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_expression_cache.h b/sql/sql_expression_cache.h index f02c3f8caca..32aecc61dc9 100644 --- a/sql/sql_expression_cache.h +++ b/sql/sql_expression_cache.h @@ -70,6 +70,7 @@ public: void init(); private: + void disable_cache(); /* tmp table parameters */ TMP_TABLE_PARAM cache_table_param; |