summaryrefslogtreecommitdiffstats
path: root/kexi/3rdparty/kexisql/src
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2013-02-17 12:00:17 +0100
committerSlávek Banko <[email protected]>2013-02-17 12:00:17 +0100
commit22a4159c4cd11b7fdad0d6957cf914bb9b35eaae (patch)
tree2f1292230a488e64ad3e174ab88ccdf2aca9cc6e /kexi/3rdparty/kexisql/src
parent20f7bee9cdba98ce25251b8bd4569f04664990a7 (diff)
downloadkoffice-22a4159c4cd11b7fdad0d6957cf914bb9b35eaae.tar.gz
koffice-22a4159c4cd11b7fdad0d6957cf914bb9b35eaae.zip
Fix unintended rename of LOCKFILE
Diffstat (limited to 'kexi/3rdparty/kexisql/src')
-rw-r--r--kexi/3rdparty/kexisql/src/os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/3rdparty/kexisql/src/os.c b/kexi/3rdparty/kexisql/src/os.c
index 7b03cab7..b47fd961 100644
--- a/kexi/3rdparty/kexisql/src/os.c
+++ b/kexi/3rdparty/kexisql/src/os.c
@@ -1367,7 +1367,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);