Smart ALTER TABLE.  
More...
Go to the source code of this file.
◆ alter_stats_rebuild()
      
        
          | void alter_stats_rebuild  | 
          ( | 
          dict_table_t *  | 
          table,  | 
        
        
           | 
           | 
          const char *  | 
          table_name,  | 
        
        
           | 
           | 
          THD *  | 
          thd  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Adjust the persistent statistics after rebuilding ALTER TABLE. 
Remove statistics for dropped indexes, add statistics for created indexes and rename statistics for renamed indexes. 
- Parameters
 - 
  
    | table | InnoDB table that was rebuilt by ALTER TABLE  | 
    | table_name | Table name in MySQL  | 
    | thd | MySQL connection  | 
  
   
 
 
◆ innobase_fields_to_mysql()
Copies an InnoDB index entry to table->record[0]. 
- Parameters
 - 
  
    | [in,out] | table | Mysql table  | 
    | [in] | index | Innodb index  | 
    | [in] | fields | Innodb index fields  | 
  
   
 
 
◆ innobase_rec_reset()
      
        
          | void innobase_rec_reset  | 
          ( | 
          struct TABLE *  | 
          table | ) | 
           | 
        
      
 
Resets table->record[0]. 
in/out: MySQL table 
- Parameters
 - 
  
  
 
 
 
◆ innobase_rec_to_mysql()
Copies an InnoDB record to table->record[0]. 
- Parameters
 - 
  
    | [in,out] | table | Mysql table  | 
    | [in] | rec | Record  | 
    | [in] | index | Index  | 
    | [in] | offsets | rec_get_offsets( rec, index, ...)  | 
  
   
 
 
◆ innobase_row_to_mysql()
Copies an InnoDB row to table->record[0]. 
- Parameters
 - 
  
    | [in,out] | table | Mysql table  | 
    | [in] | itab | Innodb table  | 
    | [in] | row | Innodb row  | 
  
   
 
 
◆ ERROR_STR_LENGTH
  
  
      
        
          | constexpr uint32_t ERROR_STR_LENGTH = 1024 | 
         
       
   | 
  
constexpr   |