Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dbuild.c178 Index *pOld; in sqliteDeleteIndex() local
181 pOld = sqliteHashInsert(&db->aDb[p->iDb].idxHash, p->zName, in sqliteDeleteIndex()
183 if( pOld!=0 && pOld!=p ){ in sqliteDeleteIndex()
184 sqliteHashInsert(&db->aDb[p->iDb].idxHash, pOld->zName, in sqliteDeleteIndex()
185 strlen(pOld->zName)+1, pOld); in sqliteDeleteIndex()
362 Table *pOld; in sqliteUnlinkAndDeleteTable() local
366 pOld = sqliteHashInsert(&db->aDb[i].tblHash, p->zName, strlen(p->zName)+1, 0); in sqliteUnlinkAndDeleteTable()
367 assert( pOld==0 || pOld==p ); in sqliteUnlinkAndDeleteTable()
970 Table *pOld; in sqliteEndTable() local
972 pOld = sqliteHashInsert(&db->aDb[p->iDb].tblHash, in sqliteEndTable()
[all …]
H A Dos.c314 struct lockInfo *pOld; in findLockInfo() local
320 pOld = sqliteHashInsert(&lockHash, &pLock->key, sizeof(key1), pLock); in findLockInfo()
321 if( pOld!=0 ){ in findLockInfo()
322 assert( pOld==pLock ); in findLockInfo()
332 struct openCnt *pOld; in findLockInfo() local
343 pOld = sqliteHashInsert(&openHash, &pOpen->key, sizeof(key2), pOpen); in findLockInfo()
344 if( pOld!=0 ){ in findLockInfo()
345 assert( pOld==pOpen ); in findLockInfo()
H A Dmain.c1060 void *pOld = db->pTraceArg; in sqlite_trace() local
1063 return pOld; in sqlite_trace()
1077 void *pOld = db->pCommitArg; in sqlite_commit_hook() local
1080 return pOld; in sqlite_commit_hook()
H A Dvdbe.c162 AggElem *pElem, *pOld; in AggInsert() local
171 pOld = sqliteHashInsert(&p->hash, pElem->zKey, pElem->nKey, pElem); in AggInsert()
172 if( pOld!=0 ){ in AggInsert()
173 assert( pOld==pElem ); /* Malloc failed on insert */ in AggInsert()
174 sqliteFree(pOld); in AggInsert()
H A Dbtree.c2399 MemPage *pOld = &aOld[i]; in balance() local
2400 for(j=0; j<pOld->nCell; j++){ in balance()
2401 apCell[nCell] = pOld->apCell[j]; in balance()
2411 apCell[nCell]->h.leftChild = pOld->u.hdr.rightChild; in balance()