summaryrefslogtreecommitdiff
path: root/sql/sp_head.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2017-09-07 12:23:58 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2017-09-07 12:23:58 +0300
commita82ed92a6a721f45f23e210c132d5b33d3dccd21 (patch)
treebb4c240cdc3dea2c4772a9fb2112054082ad0640 /sql/sp_head.h
parent9f580bbc0e674bcb4b99a39767311539464b39d6 (diff)
parentd26fb96a9f225e53941fad5feb21abddbbf99a95 (diff)
downloadmariadb-git-a82ed92a6a721f45f23e210c132d5b33d3dccd21.tar.gz
Merge 10.2 into bb-10.2-ext
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 c3dab609823..207d41f74fd 100644
--- a/sql/sp_head.h
+++ b/sql/sp_head.h
@@ -236,6 +236,7 @@ private:
*/
uint32 unsafe_flags;
+ uint m_select_number;
public:
inline Stored_program_creation_ctx *get_creation_ctx()
{
@@ -818,6 +819,8 @@ public:
sp_pcontext *get_parse_context() { return m_pcont; }
+ void set_select_number(uint num) { m_select_number= num; }
+
bool check_execute_access(THD *thd) const;
private: