#include <rule.h>
◆ load()
      
        
          | bool Replacement::load  | 
          ( | 
          MYSQL_THD  | 
          thd,  | 
        
        
           | 
           | 
          const std::string  | 
          replacement  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Load the replacement query string. 
It means:
- extract the number of parameters
 
- extract the position of the parameters in the query string
 
- copy the replacement in the rewrite rule 
 
 
 
◆ parse_error_message()
  
  
      
        
          | std::string Replacement::parse_error_message  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
If any errors were raised during parsing, the first one is available here. 
 
 
◆ slots()
  
  
      
        
          | std::vector< int > Replacement::slots  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ m_param_slots
  
  
      
        
          | std::vector<int> Replacement::m_param_slots | 
         
       
   | 
  
private   | 
  
 
The positions in query_string of each parameter ('?') 
 
 
◆ m_parse_error_message
  
  
      
        
          | std::string Replacement::m_parse_error_message | 
         
       
   | 
  
private   | 
  
 
 
◆ number_parameters
      
        
          | int Replacement::number_parameters | 
        
      
 
The number of parameters (and the size of m_param_slots and parameter_positions.) 
 
 
◆ query_string
      
        
          | std::string Replacement::query_string | 
        
      
 
The query string of the replacement. 
 
 
The documentation for this class was generated from the following files: