Subject | RE: [firebird-support] Issue: deadlock with Firebird and Delphi. ref/eDN7002040583 |
---|---|
Author | Dennis |
Post date | 2006-12-13T06:36:01Z |
Dear Ivan
The post is you know, the dataset.post.
I don't use the Wait transaction because in case of "wait" the application
can wait too much if another terminal leaved by error a record in lock. So
in order to handle this cases and avoid to show the application as frozen I
would like to have the full control if a record is available to be updated
or not. Is this wrong approach?
Regards
Dennis
_____
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Ivan Prenosil
Sent: Tuesday, December 12, 2006 5:16 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Issue: deadlock with Firebird and Delphi.
ref/eDN7002040583
What is "Post" ? Does it actually _exectue_ the statement
each time it is called ?
Btw. why do not you use Wait transaction ? This loop is not nice.
Ivan
[Non-text portions of this message have been removed]
The post is you know, the dataset.post.
I don't use the Wait transaction because in case of "wait" the application
can wait too much if another terminal leaved by error a record in lock. So
in order to handle this cases and avoid to show the application as frozen I
would like to have the full control if a record is available to be updated
or not. Is this wrong approach?
Regards
Dennis
_____
From: firebird-support@yahoogroups.com
[mailto:firebird-support@yahoogroups.com] On Behalf Of Ivan Prenosil
Sent: Tuesday, December 12, 2006 5:16 PM
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] Issue: deadlock with Firebird and Delphi.
ref/eDN7002040583
> Repeat...
>
> Try
>
> Post;
>
> Ok:=true;
>
> Except
What is "Post" ? Does it actually _exectue_ the statement
each time it is called ?
Btw. why do not you use Wait transaction ? This loop is not nice.
Ivan
[Non-text portions of this message have been removed]