• jyang's avatar
    branches/5.1: Add a special case to handle the Duplicated Key error · 313215f1
    jyang authored
    and return DB_ERROR instead. This is to avoid a possible SIGSEGV
    by mysql error handling re-entering the storage layer for dup key
    info without proper table handle.
    This is to prevent a server crash when error situation in bug
    #45961 "DDL on partitioned innodb tables leaves data dictionary
    in an inconsistent state" happens.
    
    rb://157 approved by Sunny Bains.
    
    313215f1
ha_innodb.cc 255 KB