• Marko Mäkelä's avatar
    spider_db_init(): Do not return uninitialized error_num · d9fe615e
    Marko Mäkelä authored
    If the allocation of spider_table_sts_threads failed,
    we would DBUG_RETURN(error_num) without having initialized
    it earlier.
    
    Pre-initialize error_num to HA_ERR_OUT_OF_MEM and remove
    a lot of assignments that thus became redundant.
    
    This error was introduced in 207594af
    (Spider 3.3.13).
    d9fe615e
spd_table.cc 340 KB