| My Project
   
    | 
#include <sp_instr.h>
 
  
 | Public Member Functions | |
| sp_instr_cpop (uint ip, sp_pcontext *ctx, uint count) | |
| virtual void | print (String *str) | 
| virtual bool | execute (THD *thd, uint *nextp) | 
sp_instr_cpop instruction is added at the end of BEGIN..END block. It's used to remove declared cursors so that they are not visible any longer.
| bool sp_instr_cpop::execute | ( | THD * | thd, | 
| uint * | nextp | ||
| ) |  [virtual] | 
Execute this instruction
| thd | Thread context | |
| [out] | nextp | index of the next instruction to execute. (For most instructions this will be the instruction following this one). Note that this parameter is undefined in case of errors, use get_cont_dest() to find the continuation instruction for CONTINUE error handlers. | 
Implements sp_instr.
 1.7.6.1
 1.7.6.1