Comment 13 for bug 1280896

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

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).