Subject | Re: [firebird-support] Re: Can I release a lock by invalid (uncomplete) session ? |
---|---|
Author | KIMURA, Meiji |
Post date | 2006-11-29T09:25:53Z |
Hi Adam,
--- Adam <s3057043@...> wrote:
(snip)
In this case, I decide to use NOWAIT transaction to avoid this problem.
# Changing KEEP_ALIVE setting will affect all application under the PC.
Thank you for your advice.
KIMURA, Meiji(FAMILY, Given)
Tokyo, JAPAN
--- Adam <s3057043@...> wrote:
(snip)
> Firebird doesn't use locks the way many other databases use locks.Yes, I uses default(WAIT) transaction.
>
> I am guessing you are using a WAIT transaction.
In this case, I decide to use NOWAIT transaction to avoid this problem.
# Changing KEEP_ALIVE setting will affect all application under the PC.
Thank you for your advice.
> >(snip)
> > In this case, the only solution is restart Firebird?
>
> Not true. The Operating System will eventually tell Firebird the
> connection is broken. By default on Windows and Linux, this takes 2
> hours. After that time, your second query will succeed. Look in
> Firebird.conf for the information about this timeout and how to reduce it.
KIMURA, Meiji(FAMILY, Given)
Tokyo, JAPAN