mirror of
https://github.com/MariaDB/server.git
synced 2026-04-23 08:45:33 +02:00
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
This commit is contained in:
parent
d5600efdc1
commit
e1c2646a0c
5 changed files with 77 additions and 5 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue