MySQL 8.0.39
Source Code Documentation
sp_rcontext::Handler_call_frame Class Reference

This class represents a call frame of SQL-handler (one invocation of a handler). More...

#include <sp_rcontext.h>

Public Member Functions

 Handler_call_frame (const sp_handler *_handler, Sql_condition *_sql_condition, uint _continue_ip)
 The constructor. More...
 

Public Attributes

const sp_handlerhandler
 Handler definition (from parsing context). More...
 
Sql_conditionsql_condition
 SQL-condition, triggered handler activation. More...
 
uint continue_ip
 Continue-instruction-pointer for CONTINUE-handlers. More...
 
Diagnostics_area handler_da
 The Diagnostics Area which will be pushed when the handler activates and popped when the handler completes. More...
 

Detailed Description

This class represents a call frame of SQL-handler (one invocation of a handler).

Basically, it's needed to store continue instruction pointer for CONTINUE SQL-handlers.

Constructor & Destructor Documentation

◆ Handler_call_frame()

sp_rcontext::Handler_call_frame::Handler_call_frame ( const sp_handler _handler,
Sql_condition _sql_condition,
uint  _continue_ip 
)
inline

The constructor.

Parameters
_handlerSQL-handler
_sql_conditionSQL-condition, triggered handler activation.
_continue_ipContinue instruction pointer.

Member Data Documentation

◆ continue_ip

uint sp_rcontext::Handler_call_frame::continue_ip

Continue-instruction-pointer for CONTINUE-handlers.

The attribute contains 0 for EXIT-handlers.

◆ handler

const sp_handler* sp_rcontext::Handler_call_frame::handler

Handler definition (from parsing context).

◆ handler_da

Diagnostics_area sp_rcontext::Handler_call_frame::handler_da

The Diagnostics Area which will be pushed when the handler activates and popped when the handler completes.

◆ sql_condition

Sql_condition* sp_rcontext::Handler_call_frame::sql_condition

SQL-condition, triggered handler activation.


The documentation for this class was generated from the following file: