#include <sp_instr.h>
|
| enum | Instr_type {
INSTR_UNKNOWN = 0
, INSTR_COPEN
, INSTR_CCLOSE
, INSTR_CFETCH
,
INSTR_CPOP
, INSTR_HPOP
, INSTR_ERROR
, INSTR_JUMP
,
INSTR_COND_HANDLER_PUSH_JUMP
, INSTR_COND_HANDLER_RETURN
, INSTR_LEX_CPUSH
, INSTR_LEX_FRETURN
,
INSTR_LEX_SET
, INSTR_LEX_SET_TRIGGER_FIELD
, INSTR_LEX_STMT
, INSTR_LEX_BRANCH_CASE_WHEN
,
INSTR_LEX_BRANCH_IF_NOT
, INSTR_LEX_BRANCH_SET_CASE_EXPR
} |
| |
| Query_arena | m_arena |
| |
| void | clear_da (THD *thd) const |
| | Clear diagnostics area. More...
|
| |
| bool | m_marked |
| | Show if this instruction is reachable within the SP (used by SP-optimizer). More...
|
| |
| uint | m_ip |
| | Instruction pointer. More...
|
| |
| sp_pcontext * | m_parsing_ctx |
| | Instruction parsing context. More...
|
| |
◆ sp_instr_hpop()
| sp_instr_hpop::sp_instr_hpop |
( |
uint |
ip, |
|
|
sp_pcontext * |
ctx |
|
) |
| |
|
inline |
◆ execute()
| bool sp_instr_hpop::execute |
( |
THD * |
thd, |
|
|
uint * |
nextp |
|
) |
| |
|
overridevirtual |
Execute this instruction.
- Parameters
-
| 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. |
- Returns
- Error status.
Implements sp_instr.
◆ get_psi_info()
◆ print()
| void sp_instr_hpop::print |
( |
const THD * |
, |
|
|
String * |
str |
|
) |
| |
|
inlineoverridevirtual |
◆ type()
Get the instruction type of this instruction.
- Returns
- the instruction type
Implements sp_instr.
◆ psi_info
Initial value:= {
"Stored Program: uninstall a DECLARE HANDLER microcode instruction"}
#define PSI_FLAG_DISABLED
Instrument is disabled by default.
Definition: psi_bits.h:146
#define PSI_FLAG_UNTIMED
Instrument is not timed by default.
Definition: psi_bits.h:151
The documentation for this class was generated from the following files: