MySQL 5.6.14 Source Code Document
|
#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) |
![]() | |
void | set_cont_dest (uint cont_dest) |
virtual uint | opt_mark (sp_head *sp, List< sp_instr > *leads) |
virtual void | opt_move (uint dst, List< sp_branch_instr > *ibp) |
virtual uint | get_cont_dest () const |
virtual bool | is_invalid () const |
virtual void | invalidate () |
virtual LEX_STRING | get_expr_query () const |
virtual void | set_destination (uint old_dest, uint new_dest) |
virtual void | backpatch (uint dest) |
![]() | |
sp_lex_instr (uint ip, sp_pcontext *ctx, LEX *lex, bool is_lex_owner) | |
bool | validate_lex_and_execute_core (THD *thd, uint *nextp, bool open_tables) |
virtual bool | execute (THD *thd, uint *nextp) |
![]() | |
sp_instr (uint ip, sp_pcontext *ctx) | |
uint | get_ip () const |
sp_pcontext * | get_parsing_ctx () const |
virtual uint | opt_shortcut_jump (sp_head *sp, sp_instr *start) |
bool | opt_is_marked () const |
Additional Inherited Members | |
![]() | |
static void * | operator new (size_t size) throw () |
static void * | operator new[] (size_t size) throw () |
static void * | operator new[] (size_t size, MEM_ROOT *mem_root) throw () |
static void * | operator new (size_t size, MEM_ROOT *mem_root) throw () |
static void | operator delete (void *ptr, size_t size) |
static void | operator delete (void *ptr, MEM_ROOT *mem_root) |
static void | operator delete[] (void *ptr, MEM_ROOT *mem_root) |
static void | operator delete[] (void *ptr, size_t size) |
![]() | |
sp_lex_branch_instr (uint ip, sp_pcontext *ctx, LEX *lex, Item *expr_item, LEX_STRING expr_query) | |
sp_lex_branch_instr (uint ip, sp_pcontext *ctx, LEX *lex, Item *expr_item, LEX_STRING expr_query, uint dest) | |
![]() | |
uint | m_dest |
Where we will go. | |
uint | m_cont_dest |
Where continue handlers will go. | |
sp_instr * | m_optdest |
sp_instr * | m_cont_optdest |
Item * | m_expr_item |
Expression item. | |
LEX_STRING | m_expr_query |
SQL-query corresponding to the expression. |
sp_instr_jump_if_not implements SP-instruction, which does the jump if its SQL-expression is false.
Definition at line 826 of file sp_instr.h.
|
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.
Definition at line 1067 of file sp_instr.cc.
|
inlinevirtual |
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.
Definition at line 858 of file sp_instr.h.