From b28c5a3719c231012b1645c8fbc293117d1d1aa8 Mon Sep 17 00:00:00 2001 From: dimitr Date: Wed, 21 Apr 2010 10:06:44 +0000 Subject: [PATCH] Correction, thanks to Claudio. --- src/jrd/os/win32/winnt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jrd/os/win32/winnt.cpp b/src/jrd/os/win32/winnt.cpp index deb2c76b7a..eddb717ccc 100644 --- a/src/jrd/os/win32/winnt.cpp +++ b/src/jrd/os/win32/winnt.cpp @@ -225,7 +225,7 @@ jrd_file* PIO_create(Database* dbb, const Firebird::PathName& string, const TEXT* file_name = string.c_str(); - DWORD dwShareMode = getShareFlags(true); + DWORD dwShareMode = getShareFlags(temporary); if (share_delete) dwShareMode |= FILE_SHARE_DELETE;