mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 14:02:55 +00:00
Fix access to uninitialized flag
This commit is contained in:
committed by
Konstantin Knizhnik
parent
c083765840
commit
ac233dc9aa
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user