@ -756,9 +756,9 @@ _bt_slideleft(Page page)
* Add an item to a page being built .
* Add an item to a page being built .
*
*
* The main difference between this routine and a bare PageAddItem call
* The main difference between this routine and a bare PageAddItem call
* is that this code knows that the leftmost data item on a non - leaf
* is that this code knows that the leftmost data item on a non - leaf btree
* btree page doesn ' t need to have a ke y. Therefore , it strips such
* page has a key that must be treated as minus infinit y. Therefore , it
* items down to just the item header .
* truncates away all attributes .
*
*
* This is almost like nbtinsert . c ' s _bt_pgaddtup ( ) , but we can ' t use
* This is almost like nbtinsert . c ' s _bt_pgaddtup ( ) , but we can ' t use
* that because it assumes that P_RIGHTMOST ( ) will return the correct
* that because it assumes that P_RIGHTMOST ( ) will return the correct
@ -778,7 +778,6 @@ _bt_sortaddtup(Page page,
{
{
trunctuple = * itup ;
trunctuple = * itup ;
trunctuple . t_info = sizeof ( IndexTupleData ) ;
trunctuple . t_info = sizeof ( IndexTupleData ) ;
/* Deliberately zero INDEX_ALT_TID_MASK bits */
BTreeTupleSetNAtts ( & trunctuple , 0 ) ;
BTreeTupleSetNAtts ( & trunctuple , 0 ) ;
itup = & trunctuple ;
itup = & trunctuple ;
itemsize = sizeof ( IndexTupleData ) ;
itemsize = sizeof ( IndexTupleData ) ;