Lines Matching refs:pBt
259 if( db->aDb[iDb].pBt==0 ) return SQLITE_OK; in sqliteInitOne()
260 rc = sqliteBtreeCursor(db->aDb[iDb].pBt, 2, 0, &curMain); in sqliteInitOne()
268 rc = sqliteBtreeGetMeta(db->aDb[iDb].pBt, meta); in sqliteInitOne()
311 sqliteBtreeClose(db->aDb[iDb].pBt); in sqliteInitOne()
312 db->aDb[iDb].pBt = 0; in sqliteInitOne()
315 sqliteBtreeSetCacheSize(db->aDb[iDb].pBt, db->cache_size); in sqliteInitOne()
316 sqliteBtreeSetSafetyLevel(db->aDb[iDb].pBt, meta[4]==0 ? 2 : meta[4]); in sqliteInitOne()
431 sqliteBtreeGetMeta(db->aDb[0].pBt, meta); in sqliteInit()
433 sqliteBtreeUpdateMeta(db->aDb[0].pBt, meta); in sqliteInit()
501 rc = sqliteBtreeFactory(db, zFilename, 0, MAX_PAGES, &db->aDb[0].pBt); in sqlite_open()
579 if( pDb->pBt ){ in sqlite_close()
580 sqliteBtreeClose(pDb->pBt); in sqlite_close()
581 pDb->pBt = 0; in sqlite_close()
604 if( db->aDb[i].pBt ){ in sqliteRollbackAll()
605 sqliteBtreeRollback(db->aDb[i].pBt); in sqliteRollbackAll()