mariadb/storage
Michael Widenius 82d7938905 Bug#37276 maria crash on insert around the time check table is run
Fixed several (but not all) issues found by the test program:
- ASSERT on row_length in ma_blockrec.c::_ma_compact_block_page()
- Fixed bug when splitting node pages
- Fixed hang in 'closeing tables' (conflicting mutex order) by ensuring we first take trnman lock and then share->intern_lock

storage/maria/ma_blockrec.c:
  When compacting a row page when allocating space for a new row, the min length of a the new block may be temporarly smaller than 'min_block_length'.
storage/maria/ma_check.c:
  More DBUG output
storage/maria/ma_checkpoint.c:
  Call new function _ma_remove_not_visible_states_with_lock() to ensure we first take lock on trnman and then on share->intern_lock
  +
storage/maria/ma_close.c:
  Added comment
storage/maria/ma_open.c:
  Added comment
storage/maria/ma_search.c:
  Copy also node data; Caused bug when splitting node pages
storage/maria/ma_state.c:
  Added _ma_remove_not_visible_states_with_lock() to ensure we take locks in right order
storage/maria/ma_state.h:
  Added new prototype
storage/maria/trnman.c:
  Added trnman_lock() and trnman_unlock().
  Needed by _ma_remove_not_visible_states_with_lock() to get mutex in right order
storage/maria/trnman_public.h:
  Added new prototypes
2008-07-05 14:03:21 +03:00
..
archive Merge bk-internal.mysql.com:/home/bk/mysql-maria 2008-05-29 21:39:25 +03:00
blackhole Merge mysql1000.(none):/home/andrei/MySQL/MERGE/5.0-main2rpl 2008-03-29 15:00:12 +02:00
csv Merge bk-internal.mysql.com:/home/bk/mysql-maria 2008-05-29 21:39:25 +03:00
example Merge trift2.:/MySQL/M51/mysql-5.1 2008-03-14 14:41:08 +01:00
federated Merge bk-internal.mysql.com:/home/bk/mysql-maria 2008-05-29 21:39:25 +03:00
heap Added versioning of Maria index 2008-06-26 08:18:28 +03:00
innobase Merge debian.(none):/MySQL/M51/mysql-5.1 2008-03-28 17:07:56 +02:00
maria Bug#37276 maria crash on insert around the time check table is run 2008-07-05 14:03:21 +03:00
myisam Fix for Bug #37007 Maria: different checksum for MyISAM table depending on CHECKSUM=0|1 2008-06-28 15:45:15 +03:00
myisammrg Merge mysql.com:/home/my/mysql-5.1 2008-04-28 19:24:05 +03:00
ndb Merge trift2.:/MySQL/M51/ndb-decl-5.1 2008-03-27 13:20:24 +01:00
Makefile.am fixes for make distclean, solaris, macosx, windows 2007-12-13 13:28:35 +01:00