diff options
author | anozdrin/alik@ibm. <> | 2007-06-14 22:14:52 +0400 |
---|---|---|
committer | anozdrin/alik@ibm. <> | 2007-06-14 22:14:52 +0400 |
commit | 754e9788b8775f5135227f0917640dd79b178ebb (patch) | |
tree | cc9c2f0d6c8753c5337c5bb567394013f7c87b1e /sql/sp_head.h | |
parent | 62e3e462757af6dd2e0d8dab0ecefb77aa461768 (diff) | |
download | mariadb-git-754e9788b8775f5135227f0917640dd79b178ebb.tar.gz |
Part of patch for BUG#11986: make sp_head::m_body_begin pointer
private and provide a setter for it. The setter will be used to
construct UTF-query in the following patches.
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r-- | sql/sp_head.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h index f3c3ebfe6e8..2d3bc1307d9 100644 --- a/sql/sp_head.h +++ b/sql/sp_head.h @@ -178,8 +178,11 @@ public: // Pointers set during parsing const char *m_param_begin; const char *m_param_end; + +private: const char *m_body_begin; +public: /* Security context for stored routine which should be run under definer privileges. @@ -297,6 +300,8 @@ public: void set_info(longlong created, longlong modified, st_sp_chistics *chistics, ulong sql_mode); + void set_body_begin_ptr(Lex_input_stream *lip, const char *begin_ptr); + void set_definer(const char *definer, uint definerlen); void set_definer(const LEX_STRING *user_name, const LEX_STRING *host_name); |