• unknown's avatar
    Maria: correcting assertions (should be enforced only in multi-threaded · a021c104
    unknown authored
    mode) so ma_test_all works again; more error detection in ma_test_all;
    maria_control renamed to maria_log_control (Monty's suggestion,
    so that a "rm maria_log*" removes all log-related files). Disabling
    failing wrong assertion.
    
    
    storage/maria/ma_blockrec.c:
      disabling assertion which fails because cur_block is a
      local variable not initialized
    storage/maria/ma_check.c:
      comment
    storage/maria/ma_control_file.h:
      control file renamed
    storage/maria/ma_loghandler.c:
      assertions needed only in multi-threaded mode (ma_test1 and ma_test2
      are single-threaded, it's ok for them to use dummy_transaction_object
      with transactional tables: trn->rec_lsn can be set without interfering
      with other threads).
    storage/maria/ma_test_all.sh:
      got caught by failures in some ma_test1 runs, which I didn't see
      because ma_test_all returned 0 and I didn't scroll up in the window;
      now using "set -e" to avoid that. Also testing that
      we get the errors and warnings we expect.
    storage/maria/unittest/Makefile.am:
      maria_control renamed
    a021c104
ma_blockrec.c 140 KB