• Mattias Jonsson's avatar
    Bug#44622: Using PARTITIONs with ARCHIVE engine reports 0 bytes in i_s.TABLES · e7c0d277
    Mattias Jonsson authored
    Problem was that ha_archive::info did not use the flag argument
    correctly
    
    fixed so that it updated the correct values depending on the flag.
    
    mysql-test/r/partition_archive.result:
      Bug#44622: Using PARTITIONs with ARCHIVE engine reports 0 bytes in i_s.TABLES
      
      Updated testresult
    mysql-test/t/partition_archive.test:
      Bug#44622: Using PARTITIONs with ARCHIVE engine reports 0 bytes in i_s.TABLES
      
      Added testcase
    storage/archive/ha_archive.cc:
      Bug#44622: Using PARTITIONs with ARCHIVE engine reports 0 bytes in i_s.TABLES
      
      Fixed ha_archive::info() so that it updated the correct values
      depending on the flag. (did it all only if HA_STATUS_TIME before...)
    e7c0d277
ha_archive.cc 44.4 KB