diff options
author | pem@mysql.com <> | 2003-05-23 15:32:31 +0200 |
---|---|---|
committer | pem@mysql.com <> | 2003-05-23 15:32:31 +0200 |
commit | 4523a7b179d3ef869ec232dc54cda653b3ab1abf (patch) | |
tree | bf6e2f760151613d8a7067a4374ba87418c81ee7 /sql/sp_head.h | |
parent | 384b10e2af883845179cbc2e4b8825a4d6adeddc (diff) | |
download | mariadb-git-4523a7b179d3ef869ec232dc54cda653b3ab1abf.tar.gz |
Adopt SP stuff to the new lex pointer.
Diffstat (limited to 'sql/sp_head.h')
-rw-r--r-- | sql/sp_head.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sp_head.h b/sql/sp_head.h index d5bf7138785..f25e141cd18 100644 --- a/sql/sp_head.h +++ b/sql/sp_head.h @@ -136,7 +136,7 @@ private: bool m_suid; sp_pcontext *m_pcont; // Parse context - LEX m_lex; // Temp. store for the other lex + LEX *m_lex; // Temp. store for the other lex DYNAMIC_ARRAY m_instr; // The "instructions" typedef struct { @@ -222,18 +222,18 @@ public: inline void set_lex(LEX *lex) { - memcpy(&m_lex, lex, sizeof(LEX)); + m_lex= lex; } inline LEX * get_lex() { - return &m_lex; + return m_lex; } private: - LEX m_lex; // My own lex + LEX *m_lex; // My own lex }; // class sp_instr_stmt : public sp_instr |