mariadb/storage/innobase/btr
Vasil Dimov 567a1246aa Fix Bug #53947 InnoDB: Assertion failure in thread 4224 in file .\sync\sync0sync.c line 324
Destroy the rw-lock object before freeing the memory it is occupying.
If we do not do this, then the mutex that is contained in the rw-lock
object btr_search_latch_temp->mutex gets "freed" and subsequently
mutex_free() from sync_close() hits a mutex whose memory has been
freed and crashes.

Approved by:	Heikki (via IRC)
Discussed with:	Calvin
2010-05-31 18:23:41 +03:00
..
btr0btr.c Merge from mysql-5.1-innodb: 2010-05-11 18:42:44 +03:00
btr0cur.c Add more valgrind checks for initialized memory. 2010-05-18 16:52:54 +03:00
btr0pcur.c Import branches/innodb+ from SVN on top of storage/innobase. 2010-04-12 18:20:41 +03:00
btr0sea.c Fix Bug #53947 InnoDB: Assertion failure in thread 4224 in file .\sync\sync0sync.c line 324 2010-05-31 18:23:41 +03:00