Subject Re: [firebird-support] Re: Bookmarks in transactions
Author Ivan Prenosil
> One thing of note is that record locks acquired after the savepoint
> declaration are not released during the rollback to savepoint
> operation, and this behaviour may (or may not) change in subsequent
> versions.

In FB, the record is locked by creating new version.
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.