Subject | RE: [Firebird-Architect] Re: rdb$db_key in either XSQLDA or XSQLVAR |
---|---|
Author | Claudio Valderrama C. |
Post date | 2004-04-30T05:38:39Z |
Roman Rokytskyy wrote:
can remember and it doesn't pass it to the client.
Do you want it returned in some unused XSQLDA field?
:-)
Internally,
impure->vlu_misc.vlu_long = rpb->rpb_transaction_nr;
that means the recod version will be taken from the txn id.
C.
>> Why in god's name do you want the record version????AFAIK, DSQL requests the record version but it does nothing with it that I
>
> According to Nickolay, absense of version might cause "lost update"
> (overwrite newer version of the record) in read committed isolation.
can remember and it doesn't pass it to the client.
Do you want it returned in some unused XSQLDA field?
:-)
Internally,
impure->vlu_misc.vlu_long = rpb->rpb_transaction_nr;
that means the recod version will be taken from the txn id.
C.