MySQL Forums
Forum List  »  Stored Procedures

Exit Handler - Can I create one that always executes?
Posted by: David Hicks
Date: June 02, 2012 02:37PM

I'd like to be able to create an exit handler that always executes regardless of the reason for exiting the stored procedure. Is that possible? It's unclear to me from the docs if I can cover all error/warning/0 conditions in a single handler. The notion is that I have a small block of code that I want to always execute whether there is an error or not.

For completeness, I'm currently running MySQL 5.0.86 but will soon be upgrading to 5.5.

Thanks,
Dave

Options: ReplyQuote


Subject
Views
Written By
Posted
Exit Handler - Can I create one that always executes?
2318
June 02, 2012 02:37PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.