• Nisha Gopalakrishnan's avatar
    BUG#16207679: MISSING ERROR WHEN RESIGNAL TO MYSQL_ERROR=5 · 8fd9e920
    Nisha Gopalakrishnan authored
    Analysis:
    --------
    
    As part of the fix for Bug#11757464, the 'out of memory' error
    condition was not pushed to the diagnostic area as it requires
    memory allocation. However in cases of SIGNAL/RESIGNAL 'out of
    memory' error, the server may not be out of memory. Hence it
    would be good to report the error in such cases.
    
    Fix:
    ---
    
    Push only non fatal 'out of memory' errors to the diagnostic area.
    Since SIGNAL/RESIGNAL of 'out of memory' error may not be fatal,
    the error is reported.
    8fd9e920
sql_class.cc 149 KB