mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 21:23:03 +01:00
Fixed bug CORE-2507 : Intermittent CreateFile failure
This commit is contained in:
parent
bf23ab7095
commit
f6e2152164
@ -2571,11 +2571,7 @@ UCHAR* ISC_map_file(
|
||||
FILE_SHARE_READ | FILE_SHARE_WRITE,
|
||||
NULL,
|
||||
OPEN_ALWAYS,
|
||||
#ifdef EMBEDDED
|
||||
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_DELETE_ON_CLOSE,
|
||||
#else
|
||||
FILE_ATTRIBUTE_NORMAL,
|
||||
#endif
|
||||
NULL);
|
||||
if (file_handle == INVALID_HANDLE_VALUE) {
|
||||
error(status_vector, "CreateFile", GetLastError());
|
||||
|
Loading…
Reference in New Issue
Block a user