• unknown's avatar
    InnoDB: Define some macros around GCC's __builtin_expect() · 4e0e9a3b
    unknown authored
    and __builtin_prefetch().
    Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    
    
    innobase/btr/btr0btr.c:
      Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    innobase/btr/btr0cur.c:
      Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    innobase/btr/btr0sea.c:
      Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    innobase/include/univ.i:
      Define UNIV_EXPECT(), UNIV_LIKELY(), UNIV_UNLIKELY(),
      UNIV_LIKELY_NULL(), UNIV_PREFETCH_R() and UNIV_PREFETCH_RW().
    innobase/lock/lock0lock.c:
      Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    innobase/page/page0cur.c:
      Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    innobase/page/page0page.c:
      Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    innobase/rem/rem0rec.c:
      Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    innobase/row/row0ins.c:
      Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    innobase/row/row0mysql.c:
      Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    innobase/row/row0purge.c:
      Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    innobase/row/row0row.c:
      Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    innobase/row/row0sel.c:
      Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    innobase/row/row0undo.c:
      Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    innobase/row/row0upd.c:
      Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    innobase/trx/trx0rec.c:
      Add UNIV_LIKELY_NULL to if (heap) mem_free_heap(heap) tests.
    4e0e9a3b
lock0lock.c 138 KB