Commit 5479c11b authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

Set fdstate in fileNameOpenFile.

parent 89345945
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.66 2000/11/10 03:53:44 vadim Exp $ * $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.67 2000/11/23 01:08:57 vadim Exp $
* *
* NOTES: * NOTES:
* *
...@@ -672,9 +672,9 @@ fileNameOpenFile(FileName fileName, ...@@ -672,9 +672,9 @@ fileNameOpenFile(FileName fileName,
*/ */
if (fileFlags & O_CREAT) if (fileFlags & O_CREAT)
vfdP->fdstate = FD_DIRTY; vfdP->fdstate = FD_DIRTY;
#else else
vfdP->fdstate = 0x0;
#endif #endif
vfdP->fdstate = 0x0;
return file; return file;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment