• unknown's avatar
    Addendum to WL#4137 "Maria- Framework for testing recovery in mysql-test-run": · 9c6f8a2b
    unknown authored
    possibility, if requested in the test, to do byte-for-byte comparison
    of data files after recovery. This makes sense only when testing
    REDOs, as UNDO phase generates new log records thus data pages get
    new LSNs. First test of maria-recovery.test is changed to test only
    REDOs and do byte-for-byte comparison.
    
    
    mysql-test/include/maria_make_snapshot.inc:
      possibility to compare physically the data files (makes sense
      only if testing REDO phase).
    mysql-test/include/maria_verify_recovery.inc:
      allow physical comparison of data files after recovery if requested
    mysql-test/r/maria-recovery.result:
      result update (first test tests REDO only now)
    mysql-test/t/maria-recovery.test:
      first test tests REDO only now, and thus can do byte-for-byte
      comparison of data files.
    9c6f8a2b
maria-recovery.test 4.85 KB