SWAB32
nextPage = SWAB32(pBt, pCur->pPage->apCell[pCur->idx]->ovfl);
nextPage = SWAB32(pBt, pOvfl->iNext);
nextPage = SWAB32(pBt, pCell->ovfl);
nextPage = SWAB32(pBt, pOvfl->iNext);
newPgno = SWAB32(pBt, newPgno);
|| pCur->pPage->apCell[pCur->idx]->h.leftChild==SWAB32(pBt,newPgno) );
|| pCur->pPage->u.hdr.rightChild==SWAB32(pBt,newPgno) );
oldPgno = SWAB32(pCur->pBt, sqlitepager_pagenumber(pPage));
oldPgno = SWAB32(pCur->pBt, sqlitepager_pagenumber(pPage));
rc = sqlitepager_get(pBt->pPager, SWAB32(pBt, pPage1->freeList),
*pPgno = SWAB32(pBt, pPage1->freeList);
n = SWAB32(pBt, pInfo->nFree);
dist = SWAB32(pBt, pInfo->aFree[0]) - nearby;
int d2 = SWAB32(pBt, pInfo->aFree[i]) - nearby;
*pPgno = SWAB32(pBt, pInfo->aFree[closest]);
rc = sqlitepager_get(pBt->pPager, SWAB32(pBt, pPage1->freeList),
int n = SWAB32(pBt, pInfo->nFree);
pInfo->aFree[n] = SWAB32(pBt, pgno);
pPage1->freeList = SWAB32(pBt, pgno);
ovfl = SWAB32(pBt, pCell->ovfl);
nextOvfl = SWAB32(pBt, pOvfl->iNext);
reparentPage(pPager, SWAB32(pBt, pPage->apCell[i]->h.leftChild), pPage, i);
reparentPage(pPager, SWAB32(pBt, pPage->u.hdr.rightChild), pPage, i);
pgnoChild = SWAB32(pBt, pPage->u.hdr.rightChild);
pPage->u.hdr.rightChild = SWAB32(pBt, pgnoChild);
swabPgno = SWAB32(pBt, pgno);
pgnoOld[i] = SWAB32(pBt, apDiv[i]->h.leftChild);
pgnoOld[i] = SWAB32(pBt, pParent->u.hdr.rightChild);
assert( SWAB32(pBt, apCell[nCell]->h.leftChild)==pgnoOld[i] );
apCell[j]->h.leftChild = SWAB32(pBt, pgnoNew[i]);
pParent->u.hdr.rightChild = SWAB32(pBt, pgnoNew[nNew-1]);
pParent->apCell[nxDiv]->h.leftChild = SWAB32(pBt, pgnoNew[nNew-1]);
pgnoChild = SWAB32(pBt, pCell->h.leftChild);
pNext->h.leftChild = SWAB32(pBt, pgnoChild);
rc = clearDatabasePage(pBt, SWAB32(pBt, pCell->h.leftChild), 1);
rc = clearDatabasePage(pBt, SWAB32(pBt, pPage->u.hdr.rightChild), 1);
ovfl = SWAB32(pBtTo, pCell->ovfl);
nextOvfl = SWAB32(pBtFrom, pOvfl->iNext);
*pPrev = SWAB32(pBtTo, new);
rc = copyDatabasePage(pBtFrom, SWAB32(pBtFrom, pCell->h.leftChild),
pCell->h.leftChild = SWAB32(pBtFrom, newChld);
rc = copyDatabasePage(pBtFrom, SWAB32(pBtFrom, pPage->u.hdr.rightChild),
pPage->u.hdr.rightChild = SWAB32(pBtTo, newChild);
aMeta[0] = SWAB32(pBt, pP1->nFree);
aMeta[i+1] = SWAB32(pBt, pP1->aMeta[i]);
pP1->aMeta[i] = SWAB32(pBt, aMeta[i+1]);
printf("right_child: %d\n", SWAB32(pBt, pPage->u.hdr.rightChild));
fileBtreePageDump(pBt, SWAB32(pBt, pCell->h.leftChild), 1);
fileBtreePageDump(pBt, SWAB32(pBt, pPage->u.hdr.rightChild), 1);
aResult[6] = SWAB32(pBt, pPage->apCell[pCur->idx]->h.leftChild);
aResult[7] = SWAB32(pBt, pPage->u.hdr.rightChild);
int n = SWAB32(pCheck->pBt, pInfo->nFree);
checkRef(pCheck, SWAB32(pCheck->pBt, pInfo->aFree[i]), zContext);
iPage = SWAB32(pCheck->pBt, pOvfl->iNext);
checkList(pCheck, 0, SWAB32(pBt, pCell->ovfl), nPage, zContext);
pgno = SWAB32(pBt, pCell->h.leftChild);
pgno = SWAB32(pBt, pPage->u.hdr.rightChild);
checkList(&sCheck, 1, SWAB32(pBt, pBt->page1->freeList),
SWAB32(pBt, pBt->page1->nFree), "Main freelist: ");