mirror of
https://github.com/postgres/postgres.git
synced 2025-05-31 03:21:24 +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
|
* 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,
|
|||||||
*/
|
*/
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user