My Project
|
#include <sp_instr.h>
Public Member Functions | |
sp_instr_cclose (uint ip, sp_pcontext *ctx, int cursor_idx) | |
virtual void | print (String *str) |
virtual bool | execute (THD *thd, uint *nextp) |
The instruction corresponds to the CLOSE statement. It just forwards the close-call to the appropriate sp_cursor object in the sp_rcontext.
bool sp_instr_cclose::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.