diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-02-17 12:00:17 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-02-17 12:00:17 +0100 |
commit | 22a4159c4cd11b7fdad0d6957cf914bb9b35eaae (patch) | |
tree | 2f1292230a488e64ad3e174ab88ccdf2aca9cc6e /kexi/3rdparty/kexisql3 | |
parent | 20f7bee9cdba98ce25251b8bd4569f04664990a7 (diff) | |
download | koffice-22a4159c4cd11b7fdad0d6957cf914bb9b35eaae.tar.gz koffice-22a4159c4cd11b7fdad0d6957cf914bb9b35eaae.zip |
Fix unintended rename of LOCKFILE
Diffstat (limited to 'kexi/3rdparty/kexisql3')
-rw-r--r-- | kexi/3rdparty/kexisql3/src/os_win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/3rdparty/kexisql3/src/os_win.c b/kexi/3rdparty/kexisql3/src/os_win.c index 2c1947a5..ec7a0840 100644 --- a/kexi/3rdparty/kexisql3/src/os_win.c +++ b/kexi/3rdparty/kexisql3/src/os_win.c @@ -615,7 +615,7 @@ static int getReadLock(OsFile *id){ ovlp.Offset = SHARED_FIRST; ovlp.OffsetHigh = 0; ovlp.hEvent = 0; - res = LockFileEx(id->h, LOCTDEFILE_FAIL_IMMEDIATELY, 0, SHARED_SIZE,0,&ovlp); + res = LockFileEx(id->h, LOCKFILE_FAIL_IMMEDIATELY, 0, SHARED_SIZE,0,&ovlp); }else{ int lk; sqlite3Randomness(sizeof(lk), &lk); |