data.nitem = 1;
}
- rdata[0].buffer = InvalidBuffer;
+ rdata[0].buffer = buf;
+ rdata[0].buffer_std = false;
rdata[0].data = (char *) &data;
rdata[0].len = offsetof(ginxlogInsertDataLeaf, items);
rdata[0].next = &rdata[1];
- rdata[1].buffer = InvalidBuffer;
+ rdata[1].buffer = buf;
+ rdata[1].buffer_std = false;
rdata[1].data = (char *) &items->items[savedPos];
rdata[1].len = sizeof(ItemPointerData) * data.nitem;
rdata[1].next = NULL;
GinDataPageAddPostingItem(page, pitem, off);
- rdata[0].buffer = InvalidBuffer;
+ rdata[0].buffer = buf;
+ rdata[0].buffer_std = false;
rdata[0].data = (char *) pitem;
rdata[0].len = sizeof(PostingItem);
rdata[0].next = NULL;
data.isDelete = insertData->isDelete;
- rdata[cnt].buffer = InvalidBuffer;
+ rdata[cnt].buffer = buf;
+ rdata[cnt].buffer_std = false;
rdata[cnt].data = (char *) &data;
rdata[cnt].len = offsetof(ginxlogInsertEntry, tuple);
rdata[cnt].next = &rdata[cnt + 1];
cnt++;
- rdata[cnt].buffer = InvalidBuffer;
+ rdata[cnt].buffer = buf;
+ rdata[cnt].buffer_std = false;
rdata[cnt].data = (char *) insertData->entry;
rdata[cnt].len = IndexTupleSize(insertData->entry);
rdata[cnt].next = NULL;