Searched refs:pScan (Results 1 – 6 of 6) sorted by relevance
| /sqlite-3.40.0/ext/expert/ |
| H A D | sqlite3expert.c | 458 IdxScan *pScan; in expertBestIndex() local 465 if( pScan ){ in expertBestIndex() 469 pScan->pTab = p->pTab; in expertBestIndex() 470 pScan->pNextScan = p->pExpert->pScan; in expertBestIndex() 471 p->pExpert->pScan = pScan; in expertBestIndex() 488 pScan->pEq = pNew; in expertBestIndex() 492 pScan->pRange = pNew; in expertBestIndex() 510 pScan->pOrder = pNew; in expertBestIndex() 964 IdxScan *pScan, in idxCreateFromCons() argument 1947 p->pScan = pScanOrig; in sqlite3_expert_sql() [all …]
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | fts5_storage.c | 604 sqlite3_stmt *pScan = 0; in sqlite3Fts5StorageRebuild() local 616 rc = fts5StorageGetStmt(p, FTS5_STMT_SCAN, &pScan, 0); in sqlite3Fts5StorageRebuild() 619 while( rc==SQLITE_OK && SQLITE_ROW==sqlite3_step(pScan) ){ in sqlite3Fts5StorageRebuild() 620 i64 iRowid = sqlite3_column_int64(pScan, 0); in sqlite3Fts5StorageRebuild() 646 rc2 = sqlite3_reset(pScan); in sqlite3Fts5StorageRebuild() 894 sqlite3_stmt *pScan; in sqlite3Fts5StorageIntegrity() local 910 rc = fts5StorageGetStmt(p, FTS5_STMT_SCAN, &pScan, 0); in sqlite3Fts5StorageIntegrity() 913 while( SQLITE_ROW==sqlite3_step(pScan) ){ in sqlite3Fts5StorageIntegrity() 915 ctx.iRowid = sqlite3_column_int64(pScan, 0); in sqlite3Fts5StorageIntegrity() 932 int nText = sqlite3_column_bytes(pScan, i+1); in sqlite3Fts5StorageIntegrity() [all …]
|
| H A D | fts5_hash.c | 33 Fts5HashEntry *pScan; /* Current ordered scan item */ member 529 return fts5HashEntrySort(p, pTerm, nTerm, &p->pScan); in sqlite3Fts5HashScanInit() 534 p->pScan = p->pScan->pScanNext; in sqlite3Fts5HashScanNext() 538 return (p->pScan==0); in sqlite3Fts5HashScanEof() 548 if( (p = pHash->pScan) ){ in sqlite3Fts5HashScanEntry()
|
| /sqlite-3.40.0/ext/lsm1/lsm-test/ |
| H A D | lsmtest_tdb.c | 524 sqlite3_stmt *pScan; in sql_scan() local 527 pScan = pDb->apScan[(pFirst==0) + (pLast==0)*2 + bReverse*4]; in sql_scan() 529 if( pFirst ) sqlite3_bind_blob(pScan, 1, pFirst, nFirst, SQLITE_STATIC); in sql_scan() 530 if( pLast ) sqlite3_bind_blob(pScan, 2, pLast, nLast, SQLITE_STATIC); in sql_scan() 532 while( SQLITE_ROW==sqlite3_step(pScan) ){ in sql_scan() 536 nKey = sqlite3_column_bytes(pScan, 0); in sql_scan() 537 pKey = (void *)sqlite3_column_blob(pScan, 0); in sql_scan() 538 nVal = sqlite3_column_bytes(pScan, 1); in sql_scan() 539 pVal = (void *)sqlite3_column_blob(pScan, 1); in sql_scan() 543 return sqlite3_reset(pScan); in sql_scan()
|
| /sqlite-3.40.0/src/ |
| H A D | where.c | 318 assert( pScan->iEquiv<=pScan->nEquiv ); in whereScanNext() 319 pWC = pScan->pWC; in whereScanNext() 321 iColumn = pScan->aiColumn[pScan->iEquiv-1]; in whereScanNext() 322 iCur = pScan->aiCur[pScan->iEquiv-1]; in whereScanNext() 336 && pScan->nEquiv<ArraySize(pScan->aiCur) in whereScanNext() 386 pScan->aiCur[ii], pScan->aiColumn[ii]); in whereScanNext() 398 if( pScan->iEquiv>=pScan->nEquiv ) break; in whereScanNext() 401 pScan->iEquiv++; in whereScanNext() 413 pScan->idxaff = sqlite3ExprAffinity(pScan->pIdxExpr); in whereScanInitIndexExpr() 445 pScan->pWC = pWC; in whereScanInit() [all …]
|
| H A D | vdbeapi.c | 2115 ScanStatus *pScan; in sqlite3_stmt_scanstatus() local 2117 pScan = &p->aScan[idx]; in sqlite3_stmt_scanstatus() 2120 *(sqlite3_int64*)pOut = p->anExec[pScan->addrLoop]; in sqlite3_stmt_scanstatus() 2124 *(sqlite3_int64*)pOut = p->anExec[pScan->addrVisit]; in sqlite3_stmt_scanstatus() 2129 LogEst x = pScan->nEst; in sqlite3_stmt_scanstatus() 2138 *(const char**)pOut = pScan->zName; in sqlite3_stmt_scanstatus() 2142 if( pScan->addrExplain ){ in sqlite3_stmt_scanstatus() 2143 *(const char**)pOut = p->aOp[ pScan->addrExplain ].p4.z; in sqlite3_stmt_scanstatus() 2150 if( pScan->addrExplain ){ in sqlite3_stmt_scanstatus() 2151 *(int*)pOut = p->aOp[ pScan->addrExplain ].p1; in sqlite3_stmt_scanstatus()
|