Hello!
Please pay attention to the bug which is reported by Rolf in harbour-users. I occasionally get an error "lock required" and this is the most likely cause:
"I reported earlier about origin LetoDB 2.17-b3 misbehaviour.
A correction, in mode: Share_Tables = 0, nobody may notice the "misfeature".
But with Share_Tables = 1, you can watch this:
first user set Rlock() at record 2, writes something into a field
second user set a Flock() when at record 1, and immediate dbunlock(),
then first user for sure is astonished that his Rlock() is gone, no changes
are written with his DbUnlock(), instead in server logs can be find:
Lock required! and warning message shell pop up.
If this pair: Flock()/ DbUnlock()
happens in between another users pair: DbAppend()/ DBUNLOCK(),
you will get: Error Leto/1021 Data type error
with next DbAppend(), DbSkip(), .. -- and an empty ? record().
Cause of this: a 'special' designed file-unlock is needed,
plus Flock() generally have to respect Rlock()."
regards, NB
|