summaryrefslogtreecommitdiff
path: root/sql/sp_rcontext.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2005-06-14 22:45:48 +0300
committerunknown <bell@sanja.is.com.ua>2005-06-14 22:45:48 +0300
commite1c2646a0c9c589e41912283210785f9f9d17645 (patch)
tree245f09eed7f3ce616ac752aa5162da8e79937ba0 /sql/sp_rcontext.h
parentd5600efdc1ec98c1b9ef7190565788e7174e45f0 (diff)
downloadmariadb-git-e1c2646a0c9c589e41912283210785f9f9d17645.tar.gz
prohibit opening Query cache for SP cursors (BUG#9715)
mysql-test/r/query_cache.result: testing cursors in SP with QC testing suspicious but working using selects in function with QC mysql-test/t/query_cache.test: testing cursors in SP with QC testing suspicious but working using selects in function with QC sql/sp_head.h: method for prohibiting of QC using SP query sql/sp_rcontext.cc: prohibit opening Query cache for SP cursors sql/sp_rcontext.h: constructor moved to .cc file to be able to use methods from lex_keeper
Diffstat (limited to 'sql/sp_rcontext.h')
-rw-r--r--sql/sp_rcontext.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sql/sp_rcontext.h b/sql/sp_rcontext.h
index 864dc3df146..b188805435f 100644
--- a/sql/sp_rcontext.h
+++ b/sql/sp_rcontext.h
@@ -203,11 +203,7 @@ class sp_cursor : public Sql_alloc
{
public:
- sp_cursor(sp_lex_keeper *lex_keeper)
- : m_lex_keeper(lex_keeper), m_prot(NULL), m_isopen(0), m_current_row(NULL)
- {
- /* Empty */
- }
+ sp_cursor(sp_lex_keeper *lex_keeper);
virtual ~sp_cursor()
{