My Project
|
#include <sp_instr.h>
Public Member Functions | |
sp_instr_jump_if_not (uint ip, LEX *lex, Item *expr_item, LEX_STRING expr_query) | |
sp_instr_jump_if_not (uint ip, LEX *lex, Item *expr_item, LEX_STRING expr_query, uint dest) | |
virtual void | print (String *str) |
virtual bool | exec_core (THD *thd, uint *nextp) |
virtual bool | on_after_expr_parsing (THD *thd) |
sp_instr_jump_if_not implements SP-instruction, which does the jump if its SQL-expression is false.
bool sp_instr_jump_if_not::exec_core | ( | THD * | thd, |
uint * | nextp | ||
) | [virtual] |
Execute core function of instruction after all preparations (e.g. setting of proper LEX, saving part of the thread context).
thd | Thread context. |
nextp[out] | next instruction pointer |
Implements sp_lex_instr.
virtual bool sp_instr_jump_if_not::on_after_expr_parsing | ( | THD * | thd | ) | [inline, virtual] |
Callback function which is called after the statement query string is successfully parsed, and the thread context has not been switched to the outer context. The thread context contains new LEX-object corresponding to the parsed query string.
thd | Thread context. |
Reimplemented from sp_lex_instr.