• Davi Arnaut's avatar
    Bug#42643: InnoDB does not support replication of TRUNCATE TABLE · fcbc77b0
    Davi Arnaut authored
    Post-merge fix: Retrieve handler statistics to workaround quirks
    of the archive storage engine.
    
    mysql-test/t/archive.test:
      Add test case.
    sql/sql_truncate.cc:
      Call info method with has side-effects related to the archive
      storage engine. It will cause rows to become visible, allowing
      a error to be thrown once we attempt to delete the rows.
    fcbc77b0
archive.test 103 KB