Fix access to uninitialized flag

This commit is contained in:
Konstantin Knizhnik
2025-06-12 12:11:01 +03:00
committed by Konstantin Knizhnik
parent c083765840
commit ac233dc9aa

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)
{