Subject | Re: [firebird-support] Re: Bookmarks in transactions |
---|---|
Author | Ivan Prenosil |
Post date | 2005-08-30T06:48:41Z |
> One thing of note is that record locks acquired after the savepointIn FB, the record is locked by creating new version.
> declaration are not released during the rollback to savepoint
> operation, and this behaviour may (or may not) change in subsequent
> versions.
If you remove that version by rollbacking to savepoint,
the record is unlocked immediately!
However, if you have transaction in wait state, waiting for "unlocking"
the record, than it will not be notified/waked-up immediately after
rollback to savepoint - the reason is that your trasnaction in fact
does not wait for unlocking the record, but it waits for end
of the other transaction.
Ivan
http://www.volny.cz/iprenosil/interbase/