• unknown's avatar
    Use LOGREC_REDO_NEW_ROW_HEAD and LOGREC_REDO_NEW_ROW_TAIL when writing to a new page · e6bdb11f
    unknown authored
    This makes REDO safer as we then know when it's safe to ignore HA_ERR_WRONG_CRC from page cache
    Removed not used logged data for LOGREC_UNDO_ROW_DELETE and LOGREC_UNDO_ROW_UPDATE
    
    
    storage/maria/ma_blockrec.c:
      Use LOGREC_REDO_NEW_ROW_HEAD and LOGREC_REDO_NEW_ROW_TAIL when writing to a new page
      This makes REDO safer as we then know when it's safe to ignore HA_ERR_WRONG_CRC from page cache
    storage/maria/ma_blockrec.h:
      Fixed prototype
    storage/maria/ma_key_recover.c:
      Removed not used logged data for LOGREC_UNDO_ROW_DELETE and LOGREC_UNDO_ROW_UPDATE
    storage/maria/ma_loghandler.c:
      Use LOGREC_REDO_NEW_ROW_HEAD and LOGREC_REDO_NEW_ROW_TAIL when writing to a new page
    storage/maria/ma_loghandler.h:
      Added LOGREC_REDO_NEW_ROW_HEAD and LOGREC_REDO_NEW_ROW_TAIL
    storage/maria/ma_recovery.c:
      Added support for LOGREC_REDO_NEW_ROW_HEAD and LOGREC_REDO_NEW_ROW_TAIL
    e6bdb11f
ma_blockrec.c 221 KB