Re: [Firebird-devel] TRANSACTION START trigger

2018-06-08 Thread Adriano dos Santos Fernandes
On 08/06/2018 06:16, Dimitry Sibiryakov wrote: > I'd prefer rollback errors to be considered as bugchecks because they > leave database in undefined (most likely broken) state. Makes no sense. Adriano -- Check out the

Re: [Firebird-devel] TRANSACTION START trigger

2018-06-08 Thread Vlad Khorsun via Firebird-devel
08.06.2018 12:16, Dimitry Sibiryakov wrote: 08.06.2018 11:01, Vlad Khorsun via Firebird-devel wrote:    Another question is how to handle rollback error. I mean rollback that run at catch block. I offer to ignore rollback error (maybe log it into firebird.log, if database is not bug-checked) -

Re: [Firebird-devel] TRANSACTION START trigger

2018-06-08 Thread Dimitry Sibiryakov
08.06.2018 11:01, Vlad Khorsun via Firebird-devel wrote:   Another question is how to handle rollback error. I mean rollback that run at catch block. I offer to ignore rollback error (maybe log it into firebird.log, if database is not bug-checked) - we can do nothing with it anyway. I'd pre

[Firebird-devel] TRANSACTION START trigger

2018-06-08 Thread Vlad Khorsun via Firebird-devel
All, I have a questions about error handling after TRANSACTION START trigger and I want to clear my doubts or fix the bug (if confirmed). From README.db_triggers.txt: - TRANSACTION START Triggers are fired in the newly user created transaction - uncaught exceptions are returned to