#include <sql_signal.h>
List of all members.
Detailed Description
Sql_cmd_common_signal represents the common properties of the SIGNAL and RESIGNAL statements. 
Constructor & Destructor Documentation
Constructor. 
- Parameters:
 - 
  
    | cond | the condition signaled if any, or NULL.  | 
    | set | collection of signal condition item assignments.  | 
  
   
 
 
Member Function Documentation
Assign the condition items 'MYSQL_ERRNO', 'level' and 'MESSAGE_TEXT' default values of a condition. 
- Parameters:
 - 
  
    | cond | the condition to update.  | 
    | set_level_code | true if 'level' and 'MYSQL_ERRNO' needs to be overwritten  | 
    | level | the level to assign  | 
    | sqlcode | the sql code to assign  | 
  
   
 
 
Evaluate the condition items 'SQLSTATE', 'MYSQL_ERRNO', 'level' and 'MESSAGE_TEXT' default values for this statement. 
- Parameters:
 - 
  
    | thd | the current thread.  | 
    | cond | the condition to update.  | 
  
   
 
 
Evaluate each signal condition items for this statement. 
- Parameters:
 - 
  
    | thd | the current thread.  | 
    | cond | the condition to update.  | 
  
   
- Returns:
 - 0 on success. 
 
 
 
Raise a SQL condition. 
- Parameters:
 - 
  
    | thd | the current thread.  | 
    | cond | the condition to raise.  | 
  
   
- Returns:
 - false on success. 
 
 
 
Member Data Documentation
The condition to signal or resignal. This member is optional and can be NULL (RESIGNAL). 
 
 
Collection of 'SET item = value' assignments in the SIGNAL/RESIGNAL statement. 
 
 
The documentation for this class was generated from the following files: