Lines Matching refs:HasRowid

18508 #define HasRowid(X)     (((X)->tabFlags & TF_WithoutRowid)==0)  macro
90329 if( HasRowid(pTab)==0 ){
98799 assert( (pOp->p5 & OPFLAG_ISNOOP) || HasRowid(pTab) );
98939 && HasRowid(pOp->p4.pTab)
98974 || HasRowid(pTab)==0
99014 if( db->xUpdateCallback && ALWAYS(pTab!=0) && HasRowid(pTab) ){
102449 if( pTab && !HasRowid(pTab) ){
113203 }else if( !HasRowid(pTab) ){
118381 if( HasRowid(pTab) ){
119523 if( !HasRowid(pTab) && IsPrimaryKeyIndex(pIdx) ){
119685 if( HasRowid(pTab) ){
119749 u8 seekOp = HasRowid(pTab) ? OP_NotExists : OP_NotFound;
119765 if( !HasRowid(pTab) && IsPrimaryKeyIndex(pX) ){
120215 if( pTab && !HasRowid(pTab) ) pIdx = sqlite3PrimaryKeyIndex(pTab);
120273 assert( !HasRowid(pIdx->pTable) || pIdx->nColumn==pIdx->nKeyCol+1 );
120274 if( !HasRowid(pIdx->pTable) && IsPrimaryKeyIndex(pIdx) ){
121846 assert( HasRowid(p) || p->iPKey<0 );
124305 assert( HasRowid(p) || p->iPKey<0 );
125375 if( !HasRowid(pTab) ) pPk = sqlite3PrimaryKeyIndex(pTab);
125652 assert( HasRowid(pTab)
125773 else if( HasRowid(pTab) || pTblName!=0 ){
127839 if( HasRowid(pTab) ){
128096 if( HasRowid(pTab) ){
128102 if( IsPrimaryKeyIndex(pIdx) && !HasRowid(pTab) ){
128114 if( HasRowid(pTab) ){
128387 opSeek = HasRowid(pTab) ? OP_NotExists : OP_NotFound;
128531 pPk = HasRowid(pTab) ? 0 : sqlite3PrimaryKeyIndex(pTab);
131976 assert( pIdx!=0 || HasRowid(pTab) );
132026 if( HasRowid(pTab) ){
132935 if( HasRowid(pTab) ){
133317 || !HasRowid(pSeqTab)
133848 withoutRowid = !HasRowid(pTab);
134820 if( HasRowid(pTab) ){
135218 assert( HasRowid(pTab) );
135393 if( HasRowid(pTab) ){
135585 if( HasRowid(pTab) ){
135635 assert( !HasRowid(pTab) );
135690 if( IsPrimaryKeyIndex(pIdx) && !HasRowid(pTab) ){
135702 if( !HasRowid(pTab) ) return;
135776 if( HasRowid(pTab) && (aToOpen==0 || aToOpen[0]) ){
135785 if( IsPrimaryKeyIndex(pIdx) && !HasRowid(pTab) ){
135974 if( HasRowid(pDest)!=HasRowid(pSrc) ){
136120 assert( HasRowid(pDest) || destHasUniqueIdx );
136147 if( HasRowid(pSrc) ){
136234 }else if( !HasRowid(pSrc) && pDestIdx->idxType==SQLITE_IDXTYPE_PRIMARYKEY ){
136240 && !HasRowid(pDest)
140088 if( pTab && !HasRowid(pTab) ){
140346 if( HasRowid(pTab) ){
140466 if( HasRowid(pTab) ) cnt++;
140479 if( HasRowid(pTab) ) aRoot[++cnt] = pTab->tnum;
140509 if( HasRowid(pTab) ){
140546 if( isQuick || HasRowid(pTab) ){
140574 if( HasRowid(pTab) ){
140654 if( !HasRowid(pTab) ){
140794 if( HasRowid(pTab) ){
143957 if( !HasRowid(pTab) ){
144654 if( HasRowid(pTab) ){
149866 int bCover = (pIdx!=0 && (HasRowid(pTab) || !IsPrimaryKeyIndex(pIdx)));
151340 if( !HasRowid(pTab) ) pBest = sqlite3PrimaryKeyIndex(pTab);
153695 pPk = HasRowid(pTab) ? 0 : sqlite3PrimaryKeyIndex(pTab);
153949 if( nChangeFrom==0 && HasRowid(pTab) ){
153954 assert( pPk!=0 || HasRowid(pTab) );
154043 assert( iCur!=iDataCur || !HasRowid(pTab) );
154048 if( HasRowid(pTab) ){
154512 if( HasRowid(pTab) ){
154567 if( HasRowid(pTab) ){
154773 if( HasRowid(pTab)
154931 if( HasRowid(pTab) ){
156268 assert( HasRowid(pNew) || sqlite3PrimaryKeyIndex(pNew)!=0 );
156269 if( !HasRowid(pNew)
157571 if( !HasRowid(pItem->pTab) && IsPrimaryKeyIndex(pIdx) ){
159486 }else if( HasRowid(pIdx->pTable) ){
159641 if( HasRowid(pTab) ){
159752 if( HasRowid(pTab) ){
159827 && (HasRowid(pTab) || !IsPrimaryKeyIndex(pSubLoop->u.btree.pIndex))
160056 if( HasRowid(pTab) ){
160213 if( HasRowid(pTab) ){
163772 if( !HasRowid(pIdx->pTable) && IsPrimaryKeyIndex(pIdx) ){
165904 }else if( !HasRowid(pTab) ){
165940 && HasRowid(pTab) /* Not WITHOUT ROWID table. (FIXME: Why not?) */
166080 && (HasRowid(pTab) || pWInfo->pSelect!=0 || sqlite3FaultSim(700))
166091 || !HasRowid(pTab)
167033 assert( nColumn==nKeyCol+1 || !HasRowid(pIndex->pTable) );
167035 || !HasRowid(pIndex->pTable));
168747 if( HasRowid(pTabList->a[0].pTab) && (wsFlags & WHERE_IDX_ONLY) ){
168828 if( !HasRowid(pTab) && IsPrimaryKeyIndex(pIx)
168904 if( HasRowid(pTab) ){
169240 if( pWInfo->eOnePass==ONEPASS_OFF || !HasRowid(pIdx->pTable) ){
169292 if( !HasRowid(pTab) ){
183737 if( HasRowid(pTab) && sqlite3IsRowid(zColumnName) ){