Home
last modified time | relevance | path

Searched refs:TESTONLY (Results 1 – 11 of 11) sorted by relevance

/sqlite-3.40.0/ext/async/
H A Dsqlite3async.c167 # define TESTONLY( X ) X macro
169 # define TESTONLY( X ) macro
293 TESTONLY( primitives.aHolder[eMutex] = GetCurrentThreadId(); ) in async_mutex_enter()
298 TESTONLY( primitives.aHolder[eMutex] = 0; ) in async_mutex_leave()
344 TESTONLY( primitives.aHolder[eMutex] = pthread_self(); ) in async_mutex_enter()
349 TESTONLY( primitives.aHolder[eMutex] = 0; ) in async_mutex_leave()
355 TESTONLY( primitives.aHolder[eMutex] = 0; ) in async_cond_wait()
357 TESTONLY( primitives.aHolder[eMutex] = pthread_self(); ) in async_cond_wait()
/sqlite-3.40.0/src/
H A Dbackup.c552 TESTONLY( int rc2 ); in sqlite3_backup_step()
553 TESTONLY( rc2 = ) sqlite3BtreeCommitPhaseOne(p->pSrc, 0); in sqlite3_backup_step()
554 TESTONLY( rc2 |= ) sqlite3BtreeCommitPhaseTwo(p->pSrc, 0); in sqlite3_backup_step()
H A Dpcache1.c650 TESTONLY( int nPage = 0; ) /* To assert pCache->nPage is correct */ in pcache1TruncateUnsafe()
662 TESTONLY( nPage = -10; ) /* Disable the pCache->nPage validity check */ in pcache1TruncateUnsafe()
682 TESTONLY( if( nPage>=0 ) nPage++; ) in pcache1TruncateUnsafe()
H A Dprepare.c130 TESTONLY(int rcp); /* Return code from sqlite3_prepare() */ in sqlite3InitCallback()
144 TESTONLY(rcp = ) sqlite3Prepare(db, argv[4], -1, 0, 0, &pStmt, 0); in sqlite3InitCallback()
H A Dpager.c5551 TESTONLY( rc = ) sqlite3BitvecSet(pPager->pInJournal, pgno); in getPageNormal()
5554 TESTONLY( rc = ) addToSavepointBitvecs(pPager, pgno); in getPageNormal()
5714 TESTONLY( Pager *pPager = pPg->pPager; ) in sqlite3PagerUnrefNotNull()
H A DsqliteInt.h459 # define TESTONLY(X) X macro
461 # define TESTONLY(X) macro
H A Dbuild.c838 TESTONLY ( Index *pOld = ) sqlite3HashInsert( in deleteTable()
H A Dselect.c4403 TESTONLY(i =) sqlite3AuthCheck(pParse, SQLITE_SELECT, 0, 0, 0); in flattenSubquery()
/sqlite-3.40.0/ext/fts3/
H A Dfts3Int.h195 # define TESTONLY(X) X macro
197 # define TESTONLY(X) macro
H A Dfts3.c1438 TESTONLY( p->inTransaction = -1 ); in fts3InitVtab()
1439 TESTONLY( p->mxSavepoint = -1 ); in fts3InitVtab()
3612 TESTONLY( Fts3Table *p = (Fts3Table*)pVtab ); in fts3CommitMethod()
3617 TESTONLY( p->inTransaction = 0 ); in fts3CommitMethod()
3618 TESTONLY( p->mxSavepoint = -1; ); in fts3CommitMethod()
3630 TESTONLY( p->inTransaction = 0 ); in fts3RollbackMethod()
3631 TESTONLY( p->mxSavepoint = -1; ); in fts3RollbackMethod()
3932 TESTONLY( ((Fts3Table *)pVtab)->mxSavepoint = iSavepoint ); in fts3SavepointMethod()
3945 TESTONLY( Fts3Table *p = (Fts3Table*)pVtab ); in fts3ReleaseMethod()
3950 TESTONLY( p->mxSavepoint = iSavepoint-1 ); in fts3ReleaseMethod()
[all …]
/sqlite-3.40.0/ext/session/
H A Dsqlite3session.c1375 TESTONLY(int trc = ) pSession->hook.xOld(pSession->hook.pCtx, i, &p); in sessionPreupdateOneChange()
1378 TESTONLY(int trc = ) pSession->hook.xNew(pSession->hook.pCtx, i, &p); in sessionPreupdateOneChange()