Go to the source code of this file.
◆ push_deprecated_warn()
  
  
      
        
          | void push_deprecated_warn  | 
          ( | 
          THD *  | 
          thd,  | 
         
        
           | 
           | 
          const char *  | 
          old_syntax,  | 
         
        
           | 
           | 
          const char *  | 
          new_syntax  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Generates a warning that a feature is deprecated. 
Using it as push_deprecated_warn(thd, "BAD", "'GOOD'"); Will result in a warning: "The syntax 'BAD' is deprecated and will be removed in a
   future release. Please use 'GOOD' instead"
If a function is deprecated, it should implement Item_func::is_deprecated() to return true to prevent the usage of the function in the generated column expression.
- Parameters
 - 
  
    | thd | Thread context. If NULL, warning is written to the error log, otherwise the warning is sent to the client.  | 
    | old_syntax | Deprecated syntax.  | 
    | new_syntax | Replacement syntax.  | 
  
   
 
 
◆ push_deprecated_warn_no_replacement()
  
  
      
        
          | void push_deprecated_warn_no_replacement  | 
          ( | 
          THD *  | 
          thd,  | 
         
        
           | 
           | 
          const char *  | 
          old_syntax  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Generates a warning that a feature is deprecated. 
Using it as push_deprecated_warn_no_replacement(thd, "old"); Will result in a warning: "The syntax 'old' is deprecated and will be removed in a future release.
If a function is deprecated, it should implement Item_func::is_deprecated() to return true to prevent the usage of the function in the generated column expression.
- Parameters
 - 
  
    | thd | Thread context. If NULL, warning is written to the error log, otherwise the warning is sent to the client.  | 
    | old_syntax | Deprecated syntax.  | 
  
   
 
 
◆ warn_on_deprecated_charset()
  
  
      
        
          | void warn_on_deprecated_charset  | 
          ( | 
          THD *  | 
          thd,  | 
         
        
           | 
           | 
          const CHARSET_INFO *  | 
          cs,  | 
         
        
           | 
           | 
          const char *  | 
          alias,  | 
         
        
           | 
           | 
          const char *  | 
          option = nullptr  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
 
◆ warn_on_deprecated_collation()
  
  
      
        
          | void warn_on_deprecated_collation  | 
          ( | 
          THD *  | 
          thd,  | 
         
        
           | 
           | 
          const CHARSET_INFO *  | 
          collation,  | 
         
        
           | 
           | 
          const char *  | 
          option = nullptr  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   |