mariadb/storage
Vasil Dimov 04dfc8c8d2 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
..
archive Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00
blackhole Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00
csv Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00
example Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00
federated Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00
heap Patch for Bug#53937 (Junk make-ccc files included in MySQL Server bzr repo). 2010-05-26 14:20:14 +04:00
ibmdb2i Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00
innobase Fix Bug #53947 InnoDB: Assertion failure in thread 4224 in file .\sync\sync0sync.c line 324 2010-05-31 18:23:41 +03:00
myisam Bug #53445 Build with -Wall and fix warnings that it generates 2010-05-26 16:12:23 +02:00
myisammrg Patch for Bug#53937 (Junk make-ccc files included in MySQL Server bzr repo). 2010-05-26 14:20:14 +04:00
ndb Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00
perfschema Fix perfschema unittests build on Windows 2010-04-13 13:48:46 +02:00
Makefile.am Another incarnation of the patch for Bug#30708 2010-05-19 17:00:23 +04:00