The above is with UNIV_DEBUG build.
Also, with
bzr diff === modified file 'storage/innobase/lock/lock0lock.cc' --- storage/innobase/lock/lock0lock.cc 2014-06-08 19:48:57 +0000 +++ storage/innobase/lock/lock0lock.cc 2014-06-09 17:31:56 +0000 @@ -2308,7 +2308,8 @@ struct for a gap type lock */
if (UNIV_UNLIKELY(heap_no == PAGE_HEAP_NO_SUPREMUM)) { - ut_ad(!(type_mode & LOCK_REC_NOT_GAP)); + ut_ad(!(type_mode & LOCK_REC_NOT_GAP) || + wsrep_thd_is_BF(trx->mysql_thd, FALSE));
/* There should never be LOCK_REC_NOT_GAP on a supremum record, but let us play safe */
I have not been able to get a crash. (missing the ifdef WSREP parts though).
The above is with UNIV_DEBUG build.
Also, with
bzr diff innobase/ lock/lock0lock. cc' innobase/ lock/lock0lock. cc 2014-06-08 19:48:57 +0000 innobase/ lock/lock0lock. cc 2014-06-09 17:31:56 +0000
=== modified file 'storage/
--- storage/
+++ storage/
@@ -2308,7 +2308,8 @@
struct for a gap type lock */
if (UNIV_UNLIKELY( heap_no == PAGE_HEAP_ NO_SUPREMUM) ) { is_BF(trx- >mysql_ thd, FALSE));
- ut_ad(!(type_mode & LOCK_REC_NOT_GAP));
+ ut_ad(!(type_mode & LOCK_REC_NOT_GAP) ||
+ wsrep_thd_
/* There should never be LOCK_REC_NOT_GAP on a supremum
record, but let us play safe */
I have not been able to get a crash. (missing the ifdef WSREP parts though).