U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » UppHub » Firebird
Re: Firebird [message #33127 is a reply to message #33010] Sat, 09 July 2011 06:49 Go to previous messageGo to previous message
Novo is currently offline  Novo
Messages: 1433
Registered: December 2006
Ultimate Contributor
unodgs wrote on Thu, 30 June 2011 02:44

And does your macro breaks immediately after first error or run queries to the last and then do rollback?



TRANSACTION macro will rollback if you don't reach end of a block. This can happen in case of an exception, "break", "return", or "goto" statement. It breaks immediately, the rest of statements in the block won't be executed. "break", "return", and "goto" statements work similar to exception in this case.

Well, this macro is just another trick with scopes.


Regards,
Novo
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: MediaPlayer crash under UBUNTU 11.04
Next Topic: Getting compile on Docking in bazaar
Goto Forum:
  


Current Time: Sat Jul 18 00:19:44 GMT+2 2026

Total time taken to generate the page: 0.00495 seconds