The world's most popular open source database
#include <sp_head.h>
Inheritance diagram for sp_instr_cpop:


Public Member Functions | |
| sp_instr_cpop (uint ip, sp_pcontext *ctx, uint count) | |
| virtual | ~sp_instr_cpop () |
| virtual int | execute (THD *thd, uint *nextp) |
| virtual void | print (String *str) |
Private Member Functions | |
| sp_instr_cpop (const sp_instr_cpop &) | |
| void | operator= (sp_instr_cpop &) |
Private Attributes | |
| uint | m_count |
Definition at line 995 of file sp_head.h.
| sp_instr_cpop::sp_instr_cpop | ( | const sp_instr_cpop & | ) | [private] |
| sp_instr_cpop::sp_instr_cpop | ( | uint | ip, | |
| sp_pcontext * | ctx, | |||
| uint | count | |||
| ) | [inline] |
| virtual sp_instr_cpop::~sp_instr_cpop | ( | ) | [inline, virtual] |
| int sp_instr_cpop::execute | ( | THD * | thd, | |
| uint * | nextp | |||
| ) | [virtual] |
Implements sp_instr.
Definition at line 3033 of file sp_head.cc.
References DBUG_ENTER, DBUG_RETURN, m_count, and sp_instr::m_ip.
03034 { 03035 DBUG_ENTER("sp_instr_cpop::execute"); 03036 thd->spcont->pop_cursors(m_count); 03037 *nextp= m_ip+1; 03038 DBUG_RETURN(0); 03039 }
| void sp_instr_cpop::operator= | ( | sp_instr_cpop & | ) | [private] |
| void sp_instr_cpop::print | ( | String * | str | ) | [virtual] |
Implements sp_instr.
Definition at line 3043 of file sp_head.cc.
References m_count, String::qs_append(), String::reserve(), SP_INSTR_UINT_MAXLEN, and STRING_WITH_LEN.
03044 { 03045 /* cpop count */ 03046 if (str->reserve(SP_INSTR_UINT_MAXLEN+5)) 03047 return; 03048 str->qs_append(STRING_WITH_LEN("cpop ")); 03049 str->qs_append(m_count); 03050 }
Here is the call graph for this function:

uint sp_instr_cpop::m_count [private] |
1.4.7

