Corretto lock esclusivo dei file.
git-svn-id: svn://10.65.10.50/trunk@1581 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e2dfb5581c
commit
403683e090
@ -487,7 +487,7 @@ int DB_lockfile(int handle)
|
||||
|
||||
if(dbdata[handle]==0) return(-1);
|
||||
rt = d4lock_file(dbdata[handle]);
|
||||
if (rt>=0) rt=d4lock_index(dbdata[handle]);
|
||||
if (rt==0) rt=d4lock_index(dbdata[handle]);
|
||||
return(rt);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user