• unknown's avatar
    Fix table renaming to not lowercase table names for all storage · 8ac75806
    unknown authored
    engines when lower_case_table_names == 2, as it did previously
    for InnoDB and MEMORY. (Bug #9660)
    
    
    mysql-test/r/lowercase_table2.result:
      Fix results
    sql/sql_table.cc:
      Add build_table_path() function to construct the path to
      a table, and use it to replace nearly all of the places
      where this was done with similar code.
      
      Fix mysql_rename_table() to not lowercase the .frm file
      name when lower_case_table_names == 2 and the storage
      engine does not set the HA_FILE_BASED flag (such as InnoDB).
    8ac75806
lowercase_table2.result 3.08 KB