• unknown's avatar
    after-merge fixes and comments · 98aad88f
    unknown authored
    
    mysql-test/include/maria_empty_logs.inc:
      At one moment in maria-recovery.test the first log has number 2,
      because log 1 was manually deleted.
    mysql-test/r/maria-recovery.result:
      after-merge fix
    mysql-test/t/maria-recovery.test:
      after-merge fix
    storage/maria/ma_bitmap.c:
      after-merge fix. The todo is implemented now.
    storage/maria/ma_blockrec.c:
      comment
    storage/maria/ma_open.c:
      after-merge fix. Set write_fail also for index file or a write error
      would crash.
    storage/maria/ma_pagecache.c:
      comment
    storage/maria/ma_pagecache.h:
      I prefer to use NULL for 'no callback' instead of a dummy callback
      in the special case of get_log_address; indeed for non-transactional
      tables it uses an if(), while if using a dummy callback, it would
      use a function call plus an if() (the dummy callback would need to
      return a magic value to say "don't flush" and that value would be
      tested in if()).
    storage/maria/unittest/ma_test_all-t:
      fix if running from outside storage/maria
    98aad88f
ma_open.c 58.1 KB