• kevin.lewis@oracle.com's avatar
    Bug#16263506 - INNODB; USE ABORT() ON ALL PLATFORMS INSTEAD OF · f3bfae1b
    kevin.lewis@oracle.com authored
                   DEREFERENCING UT_DBG_NULL_PTR
    The abort() call is standard C but InnoDB only uses it in GCC
    environments.  UT_DBG_USE_ABORT is not defined the code crashed
    by dereferencing a null pointer instead of calling abort().
    Other code throughout MySQL including ndb, sql, mysys and other
    places call abort() directly.
    
    This bug also affects innodb.innodb_bug14147491.test which fails
    randomly on windows because of this issue. 
    
    Approved by marko in http://rb.no.oracle.com/rb/r/1936/
    f3bfae1b
ut0dbg.c 4.03 KB