fix compiler warning in bTree.c

This commit is contained in:
Sears Russell 2011-04-20 20:47:22 +00:00
parent 0bce11e0c8
commit aca4365108

View file

@ -178,7 +178,7 @@ int TbtreeInsert(int xid, recordid rid, void *cmp_arg, byte *key, size_t keySize
recordid newrid = stasis_record_alloc_begin(xid, p, sz);
if(newrid.size != sz) {
// split leaf into two halves (based on slot count)
pageid_t leftpage = p->id;
//pageid_t leftpage = p->id;
pageid_t rightpage = TpageAlloc(xid);
TinitializeSlottedPage(xid, rightpage);
Page * rightp = loadPage(xid, rightpage);