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.
This commit is contained in:
unknown 2011-08-12 13:54:41 +03:00
commit 52e70226bc
2 changed files with 30 additions and 9 deletions

View file

@ -70,6 +70,7 @@ public:
void init();
private:
void disable_cache();
/* tmp table parameters */
TMP_TABLE_PARAM cache_table_param;