• unknown's avatar
    Fixed that ma_test_all works with -T (simple transaction/logging support) · ffe437be
    unknown authored
    Some fixes from Sanja
    
    
    BitKeeper/etc/ignore:
      added storage/maria/maria_log.*
    include/pagecache.h:
      Always have enum PAGECACHE_EMPTY_PAGE available
      (Simpler code)
    storage/maria/ma_bitmap.c:
      Reset 'debugging' bitmap when creating new one (fixes valgrind warning)
    storage/maria/ma_blockrec.c:
      Removed duplicate (wrong) initialization
      Reset not initialized variable
    storage/maria/ma_check.c:
      Use right page type
      (Patch from Sanja)
    storage/maria/ma_init.c:
      Reset logging in maria_end()
      (Fixes memory leak)
    storage/maria/ma_loghandler.c:
      Add missing copyright header
      Added checking of duplicate calls or calls without init to translog_destroy()
      Don't lock mutex before destroying them (not needed as you can't use a destroyed mutex anyway)
    storage/maria/ma_pagecache.c:
      Added extra page type text
      Trivial indentation fixes
    storage/maria/ma_test1.c:
      Added transaction setup
      (Patch from Sanja)
    storage/maria/ma_test2.c:
      Added transaction setup
      (Patch from Sanja)
    ffe437be
ma_bitmap.c 55 KB