My Project
Public Types | Public Member Functions | Public Attributes
sp_handler Class Reference

This class represents 'DECLARE HANDLER' statement. More...

#include <sp_pcontext.h>

Inheritance diagram for sp_handler:
Sql_alloc

List of all members.

Public Types

enum  enum_type { EXIT, CONTINUE }

Public Member Functions

 sp_handler (enum_type _type, sp_pcontext *_scope)

Public Attributes

enum_type type
 Handler type.
sp_pcontextscope
 BEGIN..END block of the handler.
List< sp_condition_valuecondition_values
 Conditions caught by this handler.

Detailed Description

This class represents 'DECLARE HANDLER' statement.


Member Enumeration Documentation

Enumeration of possible handler types. Note: UNDO handlers are not (and have never been) supported.


Constructor & Destructor Documentation

sp_handler::sp_handler ( enum_type  _type,
sp_pcontext _scope 
) [inline]

The constructor.

Parameters:
_typeSQL-handler type.
_scopeHandler scope.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines