diff options
author | unknown <gluh@gluh.mysql.r18.ru> | 2003-05-06 21:09:20 +0500 |
---|---|---|
committer | unknown <gluh@gluh.mysql.r18.ru> | 2003-05-06 21:09:20 +0500 |
commit | fb5df27adf58998f5e2a4a66d1634003cd106af2 (patch) | |
tree | fb4c2640f7b2c3d485d1e63a93e7afeb4dfb397f /sql/sp_head.h | |
parent | 0e891786615356dbc9bca3c5132e259e92b89ad9 (diff) | |
download | mariadb-git-fb5df27adf58998f5e2a4a66d1634003cd106af2.tar.gz |
Expand the mysql.proc table
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r-- | sql/sp_head.h | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h index b0685ba7ca3..d5bf7138785 100644 --- a/sql/sp_head.h +++ b/sql/sp_head.h @@ -54,7 +54,7 @@ public: List<char *> m_tables; // Used tables. #endif - sp_head(LEX_STRING *name, LEX *lex); + sp_head(LEX_STRING *name, LEX *lex, LEX_STRING *comment, char suid); int create(THD *thd); @@ -111,10 +111,30 @@ public: return sp_map_result_type(m_returns); } + void sp_set_info(char *creator, uint creatorlen, + longlong created, longlong modified, + bool suid, char *comment, uint commentlen) + { + m_creator= creator; + m_creatorlen= creatorlen; + m_created= created; + m_modified= modified; + m_comment.length= commentlen; + m_comment.str= comment; + m_suid= suid; + } + private: LEX_STRING m_name; LEX_STRING m_defstr; + LEX_STRING m_comment; + char *m_creator; + uint m_creatorlen; + longlong m_created; + longlong m_modified; + bool m_suid; + sp_pcontext *m_pcont; // Parse context LEX m_lex; // Temp. store for the other lex DYNAMIC_ARRAY m_instr; // The "instructions" |