diff options
author | bell@sanja.is.com.ua <> | 2005-06-14 22:45:48 +0300 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2005-06-14 22:45:48 +0300 |
commit | a78cc269472327e95c2c7ed0d233880a5207e373 (patch) | |
tree | 245f09eed7f3ce616ac752aa5162da8e79937ba0 /sql/sp_head.h | |
parent | f183b1be31213982199b37d2c0cfdb1732e32568 (diff) | |
download | mariadb-git-a78cc269472327e95c2c7ed0d233880a5207e373.tar.gz |
prohibit opening Query cache for SP cursors (BUG#9715)
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r-- | sql/sp_head.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h index 49eabce246b..617d6622037 100644 --- a/sql/sp_head.h +++ b/sql/sp_head.h @@ -377,6 +377,10 @@ public: return (uint)m_lex->sql_command; } + void disable_query_cache() + { + m_lex->safe_to_cache_query= 0; + } private: LEX *m_lex; |