File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 44use PostgreSQL::Test::Utils;
55use Test::More;
66
7+ # See storage/block.h
8+ my $invalid_block_number = ' 4294967295' ;
9+
710# The function finds the leftmost leaf page of the Entry Tree.
811# To do this, starting from the first page, it goes down the tree to the leaf.
912sub find_min_leaf_entry_page
@@ -44,7 +47,7 @@ sub find_root_posting_tree
4447{
4548 my ($idx_name , $cur_page_num , $node ) = @_ ;
4649
47- while ($cur_page_num ne ' 4294967295 ' )
50+ while ($cur_page_num ne $invalid_block_number )
4851 {
4952 my $posting_tree_root = $node -> safe_psql(
5053 " postgres" , qq{
@@ -207,7 +210,7 @@ sub is_tid_list_sorted
207210 "postgres", qq{
208211 SELECT rightlink FROM rum_page_opaque_info('test_rum_idx_false', 0);
209212});
210- ok($opaque_meta eq '4294967295' ,
213+ ok($opaque_meta eq $invalid_block_number ,
211214 qq{InvalidBlockNumber should be equal to '4294967295'});
212215
213216# Testing the rum_internal_entry_page_items() function.
You can’t perform that action at this time.
0 commit comments