Next beta will have record locks.
Ruslan Zasukhin
sunshine at public.kherson.ua
Tue Jul 1 19:30:09 CDT 2003
on 7/1/03 18:42, Tim Davis at timdavis at amug.org wrote:
>
>>> How persistent are these locks? For instance, suppose my app crashes
>>> while a record is locked. Is the lock written to the db, or does it
>>> just live during the runtime?
>>
>> File of Record locks (this is 4 byte per record) is stored in the .ind
>> file.
>>
>> These files are marked as TMP, so In case of crash on next open
>> Valentina
>> will remove them automatically.
>
> I'm seeking clarification. If a client app locks records, then crashes,
> but the client is not restarted, (the server continues running), when
> are the records write-enabled for another requesting client?
Good question Tim.
As you could see if you interrupt client then server catch this (don't ask
me how :-) and close connection for this user. As result all his cursors are
destroyed and records are unlocked.
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list