Skip to content

Commit 5479c11

Browse files
committed
Set fdstate in fileNameOpenFile.
1 parent 8934594 commit 5479c11

File tree

1 file changed

+3
-3
lines changed
  • src/backend/storage/file

1 file changed

+3
-3
lines changed

src/backend/storage/file/fd.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.66 2000/11/10 03:53:44 vadim Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/file/fd.c,v 1.67 2000/11/23 01:08:57 vadim Exp $
1111
*
1212
* NOTES:
1313
*
@@ -672,9 +672,9 @@ fileNameOpenFile(FileName fileName,
672672
*/
673673
if (fileFlags & O_CREAT)
674674
vfdP->fdstate = FD_DIRTY;
675-
#else
676-
vfdP->fdstate = 0x0;
675+
else
677676
#endif
677+
vfdP->fdstate = 0x0;
678678

679679
return file;
680680
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy