Subject Re: [firebird-support] Re: update, foreign keys, locking
Author Ann Harrison
Alexander V.Nevsky wrote:

>In nowait mode we'll get lock conflict
>(deadlock is another beast, IB error messages incorrectly mix this
That may be incorrect, but it was deliberate. Most error messages
indicate problems that can not be handled programatically. A few can
be. They include deadlocks and duplicates. The error handling for
deadlocks and
lock conflicts is identical, so the primary message returned is
"deadlock". The secondary error explains that it is a special case of
deadlock. We were trying to reduce the complexity of writing error
handling code.