summaryrefslogtreecommitdiff
path: root/sql/sp_head.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-09-06 19:28:51 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-09-06 19:28:51 +0300
commit70db1e3b8adc1ef88bcbda2e69a30f17b7f87d0f (patch)
tree5eea378d9752f55471ea2bc35f83ad5675471485 /sql/sp_head.h
parentc59a52b7bad473a162a51000f2a24507c83b5fc8 (diff)
parent7008d4616421fdf73d109ed297def27fa4679da4 (diff)
downloadmariadb-git-70db1e3b8adc1ef88bcbda2e69a30f17b7f87d0f.tar.gz
Merge 10.1 into 10.2
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r--sql/sp_head.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h
index 9f1745f2aab..ed9fef5116f 100644
--- a/sql/sp_head.h
+++ b/sql/sp_head.h
@@ -229,6 +229,7 @@ private:
*/
uint32 unsafe_flags;
+ uint m_select_number;
public:
inline Stored_program_creation_ctx *get_creation_ctx()
{
@@ -517,6 +518,8 @@ public:
sp_pcontext *get_parse_context() { return m_pcont; }
+ void set_select_number(uint num) { m_select_number= num; }
+
private:
MEM_ROOT *m_thd_root; ///< Temp. store for thd's mem_root