• unknown's avatar
    Pagecache callbacks support added. · 7b19ba34
    unknown authored
    Page CRC check based on pagecache support added.
    Loghandler pagecache callbacks support added.
    Loghandler filecache rewritten.
    Support of deletting all logs added.
    
    
    storage/maria/Makefile.am:
      New file with functions for CRC calculation.
    storage/maria/ma_bitmap.c:
      Page CRC support.
    storage/maria/ma_blockrec.c:
      Removed code replaced by pagecache callbacks.
    storage/maria/ma_check.c:
      Page CRC support.
    storage/maria/ma_create.c:
      Page CRC support.
    storage/maria/ma_loghandler.c:
      Pagecache callbacks support.
      New file cache support.
      Removing log files support.
    storage/maria/ma_loghandler.h:
      CRC_LENGTH replaced with CRC_SIZE
    storage/maria/ma_open.c:
      Page CRC support.
    storage/maria/ma_page.c:
      Page CRC support.
    storage/maria/ma_pagecache.c:
      Pagecache callbacks support.
    storage/maria/ma_pagecache.h:
      Pagecache callbacks support.
    storage/maria/ma_panic.c:
      Page CRC support.
    storage/maria/maria_chk.c:
      Page CRC support.
    storage/maria/maria_def.h:
      Page CRC support.
    storage/maria/unittest/Makefile.am:
      New test of removing logs.
    storage/maria/unittest/ma_maria_log_cleanup.c:
      Memory leack fixed.
    storage/maria/unittest/ma_pagecache_consist.c:
      Pagecache callbacks support.
    storage/maria/unittest/ma_pagecache_single.c:
      Pagecache callbacks support.
    storage/maria/unittest/ma_test_loghandler-t.c:
      Fixed the test error processing.
    storage/maria/unittest/ma_test_loghandler_first_lsn-t.c:
      Fixed the test error processing.
    storage/maria/unittest/ma_test_loghandler_max_lsn-t.c:
      Fixed the test error processing.
    storage/maria/unittest/ma_test_loghandler_multigroup-t.c:
      Fixed the test error processing.
    storage/maria/unittest/ma_test_loghandler_multithread-t.c:
      Fixed the test error processing.
    storage/maria/unittest/ma_test_loghandler_noflush-t.c:
      Fixed the test error processing.
    storage/maria/unittest/ma_test_loghandler_pagecache-t.c:
      Pagecache callbacks support.
    storage/maria/unittest/ma_test_loghandler_purge-t.c:
      Fixed the test error processing.
    storage/maria/unittest/test_file.c:
      Removed unneeded sync.
    7b19ba34
ma_open.c 57 KB