• unknown's avatar
    Implement applying of REDO entries for · 85da5133
    unknown authored
    - LOGREC_REDO_INSERT_ROW_HEAD
    - LOGREC_REDO_INSERT_ROW_TAIL
    - LOGREC_REDO_PURGE_ROW_HEAD
    - LOGREC_REDO_PURGE_ROW_TAIL
    
    
    sql/sql_yacc.yy:
      Fixed typo in previous push
    storage/maria/ma_bitmap.c:
      Ensure we flush the new bitmap on close
    storage/maria/ma_blockrec.c:
      Implement applying of REDO entries for
      - LOGREC_REDO_INSERT_ROW_HEAD
      - LOGREC_REDO_INSERT_ROW_TAIL
      - LOGREC_REDO_PURGE_ROW_HEAD
      - LOGREC_REDO_PURGE_ROW_TAIL
      Split some functions into subfunctions to be able to reuse code
    storage/maria/ma_blockrec.h:
      Added prototypes for REDO applying functions
    storage/maria/ma_loghandler.h:
      Safety fix
    storage/maria/ma_loghandler_lsn.h:
      Avoid compiler warnings
    storage/maria/maria_read_log.c:
      Added hocks for:
      - REDO_INSERT_ROW_HEAD
      - REDO_INSERT_ROW_TAIL
      - REDO_PURGE_ROW_HEAD
      - REDO_PURGE_ROW_TAIL
      
      Added dummy hooks for:
      - UNDO_ROW_INSERT
      - UNDO_ROW_DELETE
      
      Changed to use maria_pagecache instead of own pagecache (fixed problem with unitialized share->pagecache)
      Use maria_panic() at end to ensure that all files are closed properly.
      Fixed option handling for --debug
    85da5133
ma_bitmap.c 55.5 KB