• Marko Mäkelä's avatar
    Fix a memory leak on aborted InnoDB startup. · 412ee033
    Marko Mäkelä authored
    innodb_shutdown(), trx_sys_close(): Startup may be aborted between
    purge_sys and trx_sys creation. Therefore, purge_sys must be freed
    independently of trx_sys.
    
    innobase_start_or_create_for_mysql(): Remember to free purge_queue if
    it was not yet attached to purge_sys.
    412ee033
trx0sys.cc 31 KB