Searched refs:pDb (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | tclsqlite.c | 286 SqliteDb *pDb = (SqliteDb*)db; in DbDeleteCmd() local 287 sqlite_close(pDb->db); in DbDeleteCmd() 288 while( pDb->pFunc ){ in DbDeleteCmd() 289 SqlFunc *pFunc = pDb->pFunc; in DbDeleteCmd() 290 pDb->pFunc = pFunc->pNext; in DbDeleteCmd() 293 if( pDb->zBusy ){ in DbDeleteCmd() 294 Tcl_Free(pDb->zBusy); in DbDeleteCmd() 296 if( pDb->zTrace ){ in DbDeleteCmd() 297 Tcl_Free(pDb->zTrace); in DbDeleteCmd() 299 if( pDb->zAuth ){ in DbDeleteCmd() [all …]
|
H A D | attach.c | 140 Db *pDb; in sqliteDetach() local 147 pDb = &db->aDb[i]; in sqliteDetach() 148 if( pDb->pBt==0 || pDb->zName==0 ) continue; in sqliteDetach() 149 if( strlen(pDb->zName)!=pDbname->n ) continue; in sqliteDetach() 150 if( sqliteStrNICmp(pDb->zName, pDbname->z, pDbname->n)==0 ) break; in sqliteDetach() 165 sqliteBtreeClose(pDb->pBt); in sqliteDetach() 166 pDb->pBt = 0; in sqliteDetach() 167 sqliteFree(pDb->zName); in sqliteDetach() 169 if( pDb->pAux && pDb->xFreeAux ) pDb->xFreeAux(pDb->pAux); in sqliteDetach()
|
H A D | build.c | 227 Db *pDb = &db->aDb[i]; in sqliteResetInternalSchema() local 228 temp1 = pDb->tblHash; in sqliteResetInternalSchema() 229 temp2 = pDb->trigHash; in sqliteResetInternalSchema() 230 sqliteHashInit(&pDb->trigHash, SQLITE_HASH_STRING, 0); in sqliteResetInternalSchema() 231 sqliteHashClear(&pDb->aFKey); in sqliteResetInternalSchema() 232 sqliteHashClear(&pDb->idxHash); in sqliteResetInternalSchema() 238 sqliteHashInit(&pDb->tblHash, SQLITE_HASH_STRING, 0); in sqliteResetInternalSchema() 257 struct Db *pDb = &db->aDb[i]; in sqliteResetInternalSchema() local 258 if( pDb->pBt==0 ){ in sqliteResetInternalSchema() 259 if( pDb->pAux && pDb->xFreeAux ) pDb->xFreeAux(pDb->pAux); in sqliteResetInternalSchema() [all …]
|
H A D | main.c | 578 struct Db *pDb = &db->aDb[j]; in sqlite_close() local 579 if( pDb->pBt ){ in sqlite_close() 580 sqliteBtreeClose(pDb->pBt); in sqlite_close() 581 pDb->pBt = 0; in sqlite_close()
|
H A D | expr.c | 666 Token *pDb; in sqliteExprResolveIds() local 671 pDb = 0; in sqliteExprResolveIds() 676 pDb = &pExpr->pLeft->token; in sqliteExprResolveIds() 680 if( lookupName(pParse, pDb, pTable, pColumn, pSrcList, 0, pExpr) ){ in sqliteExprResolveIds()
|