mirror of
https://github.com/postgres/postgres.git
synced 2025-05-28 05:21:27 +03:00
Set fdstate in fileNameOpenFile.
This commit is contained in:
parent
89345945d9
commit
5479c11bfa
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* 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:
|
||||
*
|
||||
@ -672,9 +672,9 @@ fileNameOpenFile(FileName fileName,
|
||||
*/
|
||||
if (fileFlags & O_CREAT)
|
||||
vfdP->fdstate = FD_DIRTY;
|
||||
#else
|
||||
vfdP->fdstate = 0x0;
|
||||
else
|
||||
#endif
|
||||
vfdP->fdstate = 0x0;
|
||||
|
||||
return file;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user