• Mattias Jonsson's avatar
    Bug#37719: Crash if rename Archive table to same name with different · a470fd7b
    Mattias Jonsson authored
    case and then select
    
    Problem was that the archive share was using a case insensitive
    charset when comparing table names
    
    Solution was to use a case sensitive char set when the table
    names are case sensitive
    
    mysql-test/suite/parts/r/partition_mgm_lc0_archive.result:
      Bug#37719: Crash if rename Archive table to same name with different
      case and then select
      
      Updated to correct result.
    storage/archive/ha_archive.cc:
      Bug#37719: Crash if rename Archive table to same name with different
      case and then select
      
      system_charset_info is case insensitive, table_alias_charset depends
      on the filesystem/lower_case_table_names variable.
      
      since there could be two tables that used the same share, unpredicted
      things could happen.
    a470fd7b
partition_mgm_lc0_archive.result 16.9 KB