Home
last modified time | relevance | path

Searched refs:pBt (Results 1 – 13 of 13) sorted by relevance

/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dbtree.h100 #define btOps(pBt) (*((BtOps **)(pBt))) argument
103 #define sqliteBtreeClose(pBt) (btOps(pBt)->Close(pBt)) argument
106 #define sqliteBtreeBeginTrans(pBt) (btOps(pBt)->BeginTrans(pBt)) argument
107 #define sqliteBtreeCommit(pBt) (btOps(pBt)->Commit(pBt)) argument
108 #define sqliteBtreeRollback(pBt) (btOps(pBt)->Rollback(pBt)) argument
109 #define sqliteBtreeBeginCkpt(pBt) (btOps(pBt)->BeginCkpt(pBt)) argument
110 #define sqliteBtreeCommitCkpt(pBt) (btOps(pBt)->CommitCkpt(pBt)) argument
111 #define sqliteBtreeRollbackCkpt(pBt) (btOps(pBt)->RollbackCkpt(pBt)) argument
139 #define sqliteBtreeGetMeta(pBt, aMeta) (btOps(pBt)->GetMeta(pBt, aMeta)) argument
143 #define sqliteBtreeGetFilename(pBt) (btOps(pBt)->GetFilename(pBt)) argument
[all …]
H A Dbtree.c1065 pCur->pBt = pBt; in fileBtreeCursor()
1101 Btree *pBt = pCur->pBt; in fileBtreeCloseCursor() local
1180 Btree *pBt = pCur->pBt; in getPayload() local
1335 Btree *pBt = pCur->pBt; in fileBtreeKeyCompare() local
1394 Btree *pBt = pCur->pBt; in moveToChild() local
1475 Btree *pBt = pCur->pBt; in moveToRoot() local
2629 Btree *pBt = pCur->pBt; in fileBtreeInsert() local
2692 Btree *pBt = pCur->pBt; in fileBtreeDelete() local
3124 Btree *pBt = pCur->pBt; in fileBtreeCursorDump() local
3304 cur.pBt = pBt = pCheck->pBt; in checkTreePage()
[all …]
H A Dattach.c90 rc = sqliteBtreeFactory(db, zFile, 0, MAX_PAGES, &aNew->pBt); in sqliteAttach()
119 if( db->aDb[i].pBt ){ in sqliteAttach()
120 sqliteBtreeClose(db->aDb[i].pBt); in sqliteAttach()
121 db->aDb[i].pBt = 0; in sqliteAttach()
148 if( pDb->pBt==0 || pDb->zName==0 ) continue; in sqliteDetach()
165 sqliteBtreeClose(pDb->pBt); in sqliteDetach()
166 pDb->pBt = 0; in sqliteDetach()
H A Dvacuum.c224 zFilename = sqliteBtreeGetFilename(db->aDb[0].pBt); in sqliteRunVacuum()
272 sqliteBtreeGetMeta(db->aDb[0].pBt, meta1); in sqliteRunVacuum()
273 sqliteBtreeGetMeta(dbNew->aDb[0].pBt, meta2); in sqliteRunVacuum()
278 rc = sqliteBtreeUpdateMeta(dbNew->aDb[0].pBt, meta2); in sqliteRunVacuum()
281 rc = sqliteBtreeCopyFile(db->aDb[0].pBt, dbNew->aDb[0].pBt); in sqliteRunVacuum()
H A Dmain.c259 if( db->aDb[iDb].pBt==0 ) return SQLITE_OK; 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()
431 sqliteBtreeGetMeta(db->aDb[0].pBt, meta); in sqliteInit()
433 sqliteBtreeUpdateMeta(db->aDb[0].pBt, meta); in sqliteInit()
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()
[all …]
H A Dpragma.c95 if( db->aDb[1].pBt!=0 ){ in changeTempStorage()
101 sqliteBtreeClose(db->aDb[1].pBt); in changeTempStorage()
102 db->aDb[1].pBt = 0; in changeTempStorage()
224 sqliteBtreeSetCacheSize(db->aDb[0].pBt, db->cache_size); in sqlitePragma()
257 sqliteBtreeSetCacheSize(db->aDb[0].pBt, db->cache_size); in sqlitePragma()
319 sqliteBtreeSetCacheSize(db->aDb[0].pBt, db->cache_size); in sqlitePragma()
320 sqliteBtreeSetSafetyLevel(db->aDb[0].pBt, db->safety_level); in sqlitePragma()
347 sqliteBtreeSetCacheSize(db->aDb[0].pBt, db->cache_size); in sqlitePragma()
348 sqliteBtreeSetSafetyLevel(db->aDb[0].pBt, db->safety_level); in sqlitePragma()
493 if( db->aDb[i].pBt==0 ) continue; in sqlitePragma()
[all …]
H A Dvdbe.c2147 rc = sqliteBtreeBeginCkpt(db->aDb[i].pBt); in sqliteVdbeExec()
2174 while( db->aDb[i].pBt!=0 && busy ){ in sqliteVdbeExec()
2175 rc = sqliteBtreeBeginTrans(db->aDb[i].pBt); in sqliteVdbeExec()
2228 rc = sqliteBtreeCommit(db->aDb[i].pBt); in sqliteVdbeExec()
2275 assert( db->aDb[pOp->p1].pBt!=0 ); in sqliteVdbeExec()
2276 rc = sqliteBtreeGetMeta(db->aDb[pOp->p1].pBt, aMeta); in sqliteVdbeExec()
2297 assert( db->aDb[pOp->p1].pBt!=0 ); in sqliteVdbeExec()
2395 pX = db->aDb[iDb].pBt; in sqliteVdbeExec()
2472 rc = sqliteBtreeBeginTrans(pCx->pBt); in sqliteVdbeExec()
2477 rc = sqliteBtreeCreateIndex(pCx->pBt, &pgno); in sqliteVdbeExec()
[all …]
H A DvdbeInt.h76 Btree *pBt; /* Separate file holding temporary table */ member
H A Dvdbeaux.c734 if( pCx->pBt ){ in sqliteVdbeCleanupCursor()
735 sqliteBtreeClose(pCx->pBt); in sqliteVdbeCleanupCursor()
858 if( db->aDb[i].pBt ){ in sqliteVdbeReset()
859 sqliteBtreeRollbackCkpt(db->aDb[i].pBt); in sqliteVdbeReset()
884 if( db->aDb[i].pBt && db->aDb[i].inTrans==2 ){ in sqliteVdbeReset()
885 sqliteBtreeCommitCkpt(db->aDb[i].pBt); in sqliteVdbeReset()
H A Dbuild.c258 if( pDb->pBt==0 ){ in sqliteResetInternalSchema()
265 if( pDb->pBt==0 ){ in sqliteResetInternalSchema()
474 if( isTemp && db->aDb[1].pBt==0 && !pParse->explain ){ in sqliteStartTable()
475 int rc = sqliteBtreeFactory(db, 0, 0, MAX_PAGES, &db->aDb[1].pBt); in sqliteStartTable()
483 rc = sqliteBtreeBeginTrans(db->aDb[1].pBt); in sqliteStartTable()
2022 if( pParse==0 || (db=pParse->db)==0 || db->aDb[0].pBt==0 ) return; in sqliteBeginTransaction()
2042 if( pParse==0 || (db=pParse->db)==0 || db->aDb[0].pBt==0 ) return; in sqliteCommitTransaction()
2065 if( pParse==0 || (db=pParse->db)==0 || db->aDb[0].pBt==0 ) return; in sqliteRollbackTransaction()
2090 assert( db->aDb[iDb].pBt!=0 ); in sqliteCodeVerifySchema()
H A Dbtree_rb.c1260 static int memRbtreeSetSafetyLevel(Rbtree *pBt, int level){ in memRbtreeSetSafetyLevel() argument
1431 static const char *memRbtreeGetFilename(Rbtree *pBt){ in memRbtreeGetFilename() argument
1438 static int memRbtreeCopyFile(Rbtree *pBt, Rbtree *pBt2){ in memRbtreeCopyFile() argument
H A DsqliteInt.h262 Btree *pBt; /* The B*Tree structure for this database file */ member
/PHP-5.3/ext/sqlite3/libsqlite/
H A Dsqlite3.c47268 BtShared *pBt = p->pBt;
48868 pBt = pPage->pBt;
48914 pBt = pPage->pBt;
49043 pPage->pBt = pBt;
49292 for(pBt=GLOBAL(BtShared*,sqlite3SharedCacheList); pBt; pBt=pBt->pNext){
49307 p->pBt = pBt;
49355 p->pBt = pBt;
50995 pCur->pBt = pBt;
53390 pBt = pParent->pBt;
55138 pBt = pCheck->pBt;
[all …]

Completed in 389 milliseconds