• dlenev@mysql.com's avatar
    Fix for bug #13825 "Triggers: crash if release savepoint" and for general · 574e7112
    dlenev@mysql.com authored
    handling of savepoints in stored routines.
    
    Fixed ha_rollback_to_savepoint()/ha_savepoint()/ha_release_savepoint()
    functions to properly handle savepoints inside of stored functions and
    triggers.
    Also now when we invoke stored function or trigger we create new savepoint
    level. We destroy it at the end of function/trigger execution and return back
    to old savepoint level.
    574e7112
handler.cc 69.9 KB