![]()  | 
  
    MySQL 8.0.44
    
   Source Code Documentation 
   | 
 
This class represents 'DECLARE HANDLER' statement. More...
#include <sp_pcontext.h>
Public Types | |
| enum | enum_type { EXIT , CONTINUE } | 
| Enumeration of possible handler types.  More... | |
Public Member Functions | |
| sp_handler (enum_type _type, sp_pcontext *_scope) | |
| The constructor.  More... | |
| void | print_conditions (String *str) const | 
| Print all conditions of a handler in human-readable form.  More... | |
| void | print (String *str) const | 
| Print type and conditions (but not body) of a handler.  More... | |
Public Attributes | |
| enum_type | type | 
| Handler type.  More... | |
| sp_pcontext * | scope | 
| BEGIN..END block of the handler.  More... | |
| List< const sp_condition_value > | condition_values | 
| Conditions caught by this handler.  More... | |
This class represents 'DECLARE HANDLER' statement.
      
  | 
  inline | 
The constructor.
| _type | SQL-handler type. | 
| _scope | Handler scope. | 
| void sp_handler::print | ( | String * | str | ) | const | 
Print type and conditions (but not body) of a handler.
| str | The variable to print to. | 
| void sp_handler::print_conditions | ( | String * | str | ) | const | 
Print all conditions of a handler in human-readable form.
| str | The variable to print to. | 
| List<const sp_condition_value> sp_handler::condition_values | 
Conditions caught by this handler.
| sp_pcontext* sp_handler::scope | 
BEGIN..END block of the handler.
| enum_type sp_handler::type | 
Handler type.