Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit eaa7b72

Browse files
committed
fix undefined behaviour while converting gist index
1 parent d7eb030 commit eaa7b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/storage/buffer/heap_convert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ static void
719719
convert_tree_based_indexes_64bit(Relation rel, Page page, BlockNumber blkno)
720720
{
721721
int am = rel->rd_rel->relam;
722-
bool has_metapage;
722+
bool has_metapage = false;
723723
PageHeader_64bit old_hdr;
724724
PageHeaderData new_hdr;
725725

0 commit comments

Comments
 (0)