|
MySQL 5.6.14 Source Code Document
|
#include <sp_pcontext.h>


Public Types | |
| enum | enum_type { IMPLICIT, BEGIN, ITERATION } |
Public Member Functions | |
| sp_label (LEX_STRING _name, uint _ip, enum_type _type, sp_pcontext *_ctx) | |
Public Attributes | |
| LEX_STRING | name |
| Name of the label. | |
| uint | ip |
| Instruction pointer of the label. | |
| enum_type | type |
| Type of the label. | |
| class sp_pcontext * | ctx |
| Scope of the label. | |
Additional Inherited Members | |
Static Public Member Functions inherited from Sql_alloc | |
| 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) |
This class represents an SQL/PSM label. Can refer to the identifier used with the "label_name:" construct which may precede some SQL/PSM statements, or to an implicit implementation-dependent identifier which the parser inserts before a high-level flow control statement such as IF/WHILE/REPEAT/LOOP, when such statement is rewritten into a combination of low-level jump/jump_if instructions and labels.
Definition at line 82 of file sp_pcontext.h.
| enum sp_label::enum_type |
| IMPLICIT |
Implicit label generated by parser. |
| BEGIN |
Label at BEGIN. |
| ITERATION |
Label at iteration control. |
Definition at line 85 of file sp_pcontext.h.