My Project
Public Member Functions
sp_instr_cfetch Class Reference

#include <sp_instr.h>

Inheritance diagram for sp_instr_cfetch:
sp_instr Sql_alloc sp_printable

List of all members.

Public Member Functions

 sp_instr_cfetch (uint ip, sp_pcontext *ctx, int cursor_idx)
virtual void print (String *str)
virtual bool execute (THD *thd, uint *nextp)
void add_to_varlist (sp_variable *var)

Detailed Description

The instruction corresponds to the FETCH statement. It just forwards the close-call to the appropriate sp_cursor object in the sp_rcontext.


Member Function Documentation

bool sp_instr_cfetch::execute ( THD *  thd,
uint *  nextp 
) [virtual]

Execute this instruction

Parameters:
thdThread context
[out]nextpindex 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.
Returns:
Error status.

Implements sp_instr.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines