Fix access to uninitialized flag

This commit is contained in:
Konstantin Knizhnik
2025-07-29 08:04:11 +03:00
committed by Konstantin Knizhnik
parent c083765840
commit ac233dc9aa
+2 -2
View File
@@ -1605,7 +1605,7 @@ neon_write(SMgrRelation reln, ForkNumber forknum, BlockNumber blocknum, const vo
XLogRecPtr lsn;
RelKindEntry *entry;
bool unlogged;
uint8 flags;
uint8 flags = 0;
switch (reln->smgr_relpersistence)
{
@@ -1695,7 +1695,7 @@ neon_writev(SMgrRelation reln, ForkNumber forknum, BlockNumber blkno,
{
RelKindEntry *entry;
bool unlogged;
uint8 flags;
uint8 flags = 0;
switch (reln->smgr_relpersistence)
{