Searched refs:pTable (Results 1 – 15 of 15) sorted by relevance
| /sqlite-3.40.0/src/ |
| H A D | build.c | 777 assert( pTable!=0 ); in sqlite3DeleteColumnNames() 1220 Table *pTable; in sqlite3StartTable() local 1288 if( pTable ){ in sqlite3StartTable() 1306 if( pTable==0 ){ in sqlite3StartTable() 1313 pTable->iPKey = -1; in sqlite3StartTable() 1315 pTable->nTabRef = 1; in sqlite3StartTable() 2261 assert( pPk->pTable==pIdx->pTable ); in isDupColumn() 3061 assert( pTable ); in viewGetColumnNames() 3138 &pTable->nCol, &pTable->aCol); in viewGetColumnNames() 3158 pTable->nNVCol = pTable->nCol; in viewGetColumnNames() [all …]
|
| H A D | vtab.c | 365 assert( IsVirtual(pTable) ); in addModuleArgument() 374 int i = pTable->u.vtab.nArg++; in addModuleArgument() 377 pTable->u.vtab.azArg = azModuleArg; in addModuleArgument() 397 pTable = pParse->pNewTable; in sqlite3VtabBeginParse() 398 if( pTable==0 ) return; in sqlite3VtabBeginParse() 399 assert( 0==pTable->pIndex ); in sqlite3VtabBeginParse() 400 pTable->eTabType = TABTYP_VTAB; in sqlite3VtabBeginParse() 404 assert( pTable->u.vtab.nArg==0 ); in sqlite3VtabBeginParse() 407 addModuleArgument(pParse, pTable, sqlite3DbStrDup(db, pTable->zName)); in sqlite3VtabBeginParse() 421 if( pTable->u.vtab.azArg ){ in sqlite3VtabBeginParse() [all …]
|
| H A D | analyze.c | 1435 analyzeTable(pParse, pIdx->pTable, pIdx); in sqlite3Analyze() 1539 Table *pTable; local 1549 if( pTable==0 ){ 1555 pIndex = sqlite3PrimaryKeyIndex(pTable); 1578 pTable->nRowLogEst = pIndex->aiRowLogEst[0]; 1579 pTable->tabFlags |= TF_HasStat1; 1583 fakeIdx.szIdxRow = pTable->szTabRow; 1585 fakeIdx.pTable = pTable; 1588 pTable->szTabRow = fakeIdx.szIdxRow; 1589 pTable->tabFlags |= TF_HasStat1; [all …]
|
| H A D | where.c | 457 if( iColumn==pIdx->pTable->iPKey ){ in whereScanInit() 860 pTable = pSrc->pTab; in constructAutomaticIndex() 886 pTable->aCol[iCol].zCnName); in constructAutomaticIndex() 912 mxBitCol = MIN(BMS-1,pTable->nCol); in constructAutomaticIndex() 913 testcase( pTable->nCol==BMS-1 ); in constructAutomaticIndex() 914 testcase( pTable->nCol==BMS-2 ); in constructAutomaticIndex() 919 nKeyCol += pTable->nCol - BMS + 1; in constructAutomaticIndex() 927 pIdx->pTable = pTable; in constructAutomaticIndex() 962 for(i=BMS-1; i<pTable->nCol; i++){ in constructAutomaticIndex() 3419 sPk.pTable = pTab; in whereLoopAddBtree() [all …]
|
| H A D | trigger.c | 667 Table *pTable; in sqlite3DropTriggerPtr() local 674 pTable = tableOfTrigger(pTrigger); in sqlite3DropTriggerPtr() 675 assert( (pTable && pTable->pSchema==pTrigger->pSchema) || iDb==1 ); in sqlite3DropTriggerPtr() 677 if( pTable ){ in sqlite3DropTriggerPtr() 682 if( sqlite3AuthCheck(pParse, code, pTrigger->zName, pTable->zName, zDb) || in sqlite3DropTriggerPtr()
|
| H A D | wherecode.c | 32 return pIdx->pTable->aCol[i].zCnName; in explainIndexColumnName() 1166 Table *pTab = pIdx->pTable; in codeDeferredSeek() 1775 if( (j>=0 && pIdx->pTable->aCol[j].notNull==0) || j==XN_EXPR ){ in sqlite3WhereCodeOneLoopStart() 2033 }else if( HasRowid(pIdx->pTable) ){ in sqlite3WhereCodeOneLoopStart() 2036 Index *pPk = sqlite3PrimaryKeyIndex(pIdx->pTable); in sqlite3WhereCodeOneLoopStart()
|
| H A D | fkey.c | 418 iParent += sqlite3TableColumnToStorage(pIdx->pTable, in fkLookupParent() 565 assert( pIdx==0 || pIdx->pTable==pTab ); in fkScanChildren()
|
| H A D | insert.c | 84 Table *pTab = pIdx->pTable; in sqlite3IndexAffinityStr() 2221 sqlite3SetMakeRecordP5(v, pIdx->pTable); in sqlite3GenerateConstraintChecks() 2722 assert( pDest->pTable!=pSrc->pTable ); in xferCompatibleIndex()
|
| H A D | prepare.c | 63 for(p=pIndex->pTable->pIndex; p; p=p->pNext){ in sqlite3IndexHasDuplicateRootPage()
|
| H A D | pragma.c | 1349 pTab = pIdx->pTable; in sqlite3Pragma()
|
| H A D | sqliteInt.h | 2611 Table *pTable; /* The SQL table being indexed */ member
|
| H A D | expr.c | 3744 sqlite3ExprCodeGetColumnOfTable(pParse->pVdbe, pIdx->pTable, iTabCur, in sqlite3ExprCodeLoadIndexColumn()
|
| H A D | btree.c | 224 iTab = pIdx->pTable->tnum; in hasSharedCacheTableLock()
|
| /sqlite-3.40.0/ext/expert/ |
| H A D | sqlite3expert.c | 159 IdxTable *pTable; /* List of all IdxTable objects */ member 435 p->pTab = pExpert->pTable; in expertConnect() 1271 for(pTab=p->pTable; pTab; pTab=pTab->pNext){ in idxAuthCallback() 1428 pTab->pNext = p->pTable; in idxCreateVtabSchema() 1429 p->pTable = pTab; in idxCreateVtabSchema() 2040 idxTableFree(p->pTable); in sqlite3_expert_destroy()
|
| /sqlite-3.40.0/ext/session/ |
| H A D | sqlite3session.c | 56 SessionTable *pTable; /* List of attached tables */ member 1459 for(pRet=pSession->pTable; pRet; pRet=pRet->pNext){ in sessionFindTable() 1471 pRet = pSession->pTable; in sessionFindTable() 1915 sessionDeleteTable(pSession, pSession->pTable); in sqlite3session_delete() 1960 for(pTab=pSession->pTable; pTab; pTab=pTab->pNext){ in sqlite3session_attach() 1980 for(ppTab=&pSession->pTable; *ppTab; ppTab=&(*ppTab)->pNext); in sqlite3session_attach() 2571 for(pTab=pSession->pTable; rc==SQLITE_OK && pTab; pTab=pTab->pNext){ in sessionGenerateChangeset() 2761 for(pTab=pSession->pTable; pTab && ret==0; pTab=pTab->pNext){ in sqlite3session_isempty() 2785 if( pSession->pTable ){ in sqlite3session_object_config()
|