Fix unintended rename of LOCKFILE

pull/1/head
Slávek Banko 12 years ago
parent f49d7e22b5
commit 63d62f785a

@ -1340,7 +1340,7 @@ int sqliteOsReadLock(OsFile *id){
ovlp.Offset = FIRST_LOCKBYTE+1;
ovlp.OffsetHigh = 0;
ovlp.hEvent = 0;
res = LockFileEx(id->h, LOCTDEFILE_FAIL_IMMEDIATELY,
res = LockFileEx(id->h, LOCKFILE_FAIL_IMMEDIATELY,
0, N_LOCKBYTE, 0, &ovlp);
}else{
res = LockFile(id->h, FIRST_LOCKBYTE+lk, 0, 1, 0);

Loading…
Cancel
Save