* file APIs on the database file directly.
*/
pBtTo.db = pTo.db;
pBtTo.pPager.commitPhaseOne(null, true);
if (iSize < iNow) {
pFile.truncate(iSize);
}
/*
* The loop that copied data from database pFrom to pTo did not*
* populate the locking page of database pTo. If the page-size of* pFrom