MySQL 9.1.0
Source Code Documentation
sp_instr.h File Reference
#include <assert.h>
#include <limits.h>
#include <string.h>
#include <sys/types.h>
#include "field_types.h"
#include "lex_string.h"
#include "my_alloc.h"
#include "my_compiler.h"
#include "my_inttypes.h"
#include "my_psi_config.h"
#include "my_sys.h"
#include "mysql/components/services/bits/psi_statement_bits.h"
#include "sql/sql_class.h"
#include "sql/sql_const.h"
#include "sql/sql_error.h"
#include "sql/sql_lex.h"
#include "sql/sql_list.h"
#include "sql_string.h"
#include "string_with_len.h"

Go to the source code of this file.

Classes

class  sp_printable
 sp_printable defines an interface which should be implemented if a class wants report some internal information about its state. More...
 
class  sp_branch_instr
 An interface for all SP-instructions with destinations that need to be updated by the SP-optimizer. More...
 
class  sp_instr
 Base class for every SP-instruction. More...
 
class  sp_lex_instr
 sp_lex_instr is a class providing the interface and base implementation for SP-instructions, whose execution is based on expression evaluation. More...
 
class  sp_instr_stmt
 sp_instr_stmt represents almost all conventional SQL-statements, which are supported outside stored programs. More...
 
class  sp_instr_set
 sp_instr_set represents SET-statements, which deal with SP-variables. More...
 
class  sp_instr_set_trigger_field
 sp_instr_set_trigger_field represents SET-statements, which deal with NEW/OLD trigger pseudo-rows. More...
 
class  sp_instr_freturn
 sp_instr_freturn represents RETURN statement in stored functions. More...
 
class  sp_instr_jump
 This is base class for all kinds of jump instructions. More...
 
class  sp_lex_branch_instr
 sp_lex_branch_instr is a base class for SP-instructions, which might perform conditional jump depending on the value of an SQL-expression. More...
 
class  sp_instr_jump_if_not
 sp_instr_jump_if_not implements SP-instruction, which does the jump if its SQL-expression is false. More...
 
class  sp_instr_set_case_expr
 sp_instr_set_case_expr is used in the "simple CASE" implementation to evaluate and store the CASE-expression in the runtime context. More...
 
class  sp_instr_jump_case_when
 sp_instr_jump_case_when instruction is used in the "simple CASE" implementation. More...
 
class  sp_instr_hpush_jump
 
class  sp_instr_hpop
 
class  sp_instr_hreturn
 
class  sp_instr_cpush
 sp_instr_cpush corresponds to DECLARE CURSOR, implements DECLARE CURSOR and OPEN. More...
 
class  sp_instr_cpop
 sp_instr_cpop instruction is added at the end of BEGIN..END block. More...
 
class  sp_instr_copen
 sp_instr_copen represents OPEN statement (opens the cursor). More...
 
class  sp_instr_cclose
 The instruction corresponds to the CLOSE statement. More...
 
class  sp_instr_cfetch
 The instruction corresponds to the FETCH statement. More...
 
class  sp_instr_error
 sp_instr_error just throws an SQL-condition if the execution flow comes to it. More...