• Marko Mäkelä's avatar
    MDEV-9282 Debian: the Lintian complains about "shlib-calls-exit" in ha_innodb.so · d50cf42b
    Marko Mäkelä authored
    Replace all exit() calls in InnoDB with abort() [possibly via ut_a()].
    Calling exit() in a multi-threaded program is problematic also for
    the reason that other threads could see corrupted data structures
    while some data structures are being cleaned up by atexit() handlers
    or similar.
    
    In the long term, all these calls should be replaced with something
    that returns an error all the way up the call stack.
    d50cf42b
api0misc.cc 5.52 KB