mariadb/storage
Marko Mäkelä 5b25a69ee3 Bug#12584374 LOCK_VALIDATE TRIPS ASSERTION !BLOCK->PAGE.FILE_PAGE_WAS_FREED
lock_clust_rec_some_has_impl(), row_get_rec_trx_id(),
lock_rec_queue_validate(), lock_table_other_has_incompatible(),
lock_table_has_to_wait_in_queue(), lock_table_queue_validate():
Add const qualifiers.

row_get_trx_id_offset(): Add const qualifiers. Keep the parameter rec
only in UNIV_DEBUG builds. Inline the function.

lock_rec_validate_page(): Take the buffer block as a parameter, to
avoid a buf_page_get_gen() call in most cases.

lock_rec_validate_page_low(): A version of lock_rec_validate_page()
that assumes that the lock system mutexes are already being held.

lock_rec_get_next_on_page_const(): A const variant of
lock_rec_get_next_on_page().

lock_validate(): Do not release the lock system mutex while
buffer-fixing the block for the lock_rec_validate_page() call.
Releasing the mutex apparently caused the assertion failure.

rb:665 approved by Sunny Bains
2011-05-24 14:11:21 +03:00
..
archive Merge from mysql-5.5.12-release 2011-05-06 10:27:04 +02:00
blackhole WL#5665: Removal of the autotools-based build system 2010-11-20 12:47:50 -02:00
csv Bug #11755431 (former 47205) 2011-03-08 09:41:57 +01:00
example Merge from 5.1. 2011-05-21 10:21:08 +02:00
federated Bug #11755431 (former 47205) 2011-03-08 09:41:57 +01:00
heap Manual merge from 5.1 2011-04-20 19:53:08 +02:00
innobase Bug#12584374 LOCK_VALIDATE TRIPS ASSERTION !BLOCK->PAGE.FILE_PAGE_WAS_FREED 2011-05-24 14:11:21 +03:00
myisam Manual merge from 5.1 2011-04-20 19:53:08 +02:00
myisammrg Manual merge from 5.1 2011-04-20 19:53:08 +02:00
ndb BUG#11762616: BUG#55229: 'POSTION' 2011-05-06 00:50:31 +01:00
perfschema Bug#11830755 - UNIT TESTS PFS_INSTR AND PFS_INSTR_CLASS CRASH IN MUTEX CALLS ON WINDOWS 2011-03-08 13:42:00 +01:00