Home
last modified time | relevance | path

Searched refs:pDb (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/lib/libsqlite/src/
H A Dtclsqlite.c289 SqliteDb *pDb = (SqliteDb*)db; in DbDeleteCmd() local
290 sqlite_close(pDb->db); in DbDeleteCmd()
291 while( pDb->pFunc ){ in DbDeleteCmd()
292 SqlFunc *pFunc = pDb->pFunc; in DbDeleteCmd()
293 pDb->pFunc = pFunc->pNext; in DbDeleteCmd()
296 if( pDb->zBusy ){ in DbDeleteCmd()
297 Tcl_Free(pDb->zBusy); in DbDeleteCmd()
299 if( pDb->zTrace ){ in DbDeleteCmd()
300 Tcl_Free(pDb->zTrace); in DbDeleteCmd()
302 if( pDb->zAuth ){ in DbDeleteCmd()
[all …]
H A Dattach.c143 Db *pDb; in sqliteDetach() local
150 pDb = &db->aDb[i]; in sqliteDetach()
151 if( pDb->pBt==0 || pDb->zName==0 ) continue; in sqliteDetach()
152 if( strlen(pDb->zName)!=pDbname->n ) continue; in sqliteDetach()
153 if( sqliteStrNICmp(pDb->zName, pDbname->z, pDbname->n)==0 ) break; in sqliteDetach()
168 sqliteBtreeClose(pDb->pBt); in sqliteDetach()
169 pDb->pBt = 0; in sqliteDetach()
170 sqliteFree(pDb->zName); in sqliteDetach()
172 if( pDb->pAux && pDb->xFreeAux ) pDb->xFreeAux(pDb->pAux); in sqliteDetach()
H A Dbuild.c230 Db *pDb = &db->aDb[i]; in sqliteResetInternalSchema() local
231 temp1 = pDb->tblHash; in sqliteResetInternalSchema()
232 temp2 = pDb->trigHash; in sqliteResetInternalSchema()
233 sqliteHashInit(&pDb->trigHash, SQLITE_HASH_STRING, 0); in sqliteResetInternalSchema()
234 sqliteHashClear(&pDb->aFKey); in sqliteResetInternalSchema()
235 sqliteHashClear(&pDb->idxHash); in sqliteResetInternalSchema()
241 sqliteHashInit(&pDb->tblHash, SQLITE_HASH_STRING, 0); in sqliteResetInternalSchema()
260 struct Db *pDb = &db->aDb[i]; in sqliteResetInternalSchema() local
261 if( pDb->pBt==0 ){ in sqliteResetInternalSchema()
262 if( pDb->pAux && pDb->xFreeAux ) pDb->xFreeAux(pDb->pAux); in sqliteResetInternalSchema()
[all …]
H A Dmain.c581 struct Db *pDb = &db->aDb[j]; in sqlite_close() local
582 if( pDb->pBt ){ in sqlite_close()
583 sqliteBtreeClose(pDb->pBt); in sqlite_close()
584 pDb->pBt = 0; in sqlite_close()
H A Dexpr.c668 Token *pDb; in sqliteExprResolveIds() local
673 pDb = 0; in sqliteExprResolveIds()
678 pDb = &pExpr->pLeft->token; in sqliteExprResolveIds()
682 if( lookupName(pParse, pDb, pTable, pColumn, pSrcList, 0, pExpr) ){ in sqliteExprResolveIds()