Subject | AW: [IBO] How to handle a deadlock |
---|---|
Author | Christian Gütter |
Post date | 2001-02-01T21:44:14Z |
Thanks for your answer Jason.
The OnError event seems to be OK.
To recognize a deadlock, the ERRCODE
has this value which can be found in
IB_Header.pas:
isc_deadlock = 335544336.
Is this right?
Christian
The OnError event seems to be OK.
To recognize a deadlock, the ERRCODE
has this value which can be found in
IB_Header.pas:
isc_deadlock = 335544336.
Is this right?
Christian
> -----Ursprüngliche Nachricht-----
> Von: Jason Wharton [mailto:jwharton@...]
> Gesendet: Donnerstag, 1. Februar 2001 19:14
> An: IBObjects@yahoogroups.com
> Betreff: Re: [IBO] How to handle a deadlock
>
>
> You can tap into the OnError event and instead of allowing the
> default error
> to take place you can call SysUtils.Abort. Keep retrying the
> operation until
> it is successful.
>
> HTH,
> Jason Wharton
> CPS - Mesa AZ
> http://www.ibobjects.com
>