Lines Matching refs:HasRowid

17303 #define HasRowid(X)     (((X)->tabFlags & TF_WithoutRowid)==0)  macro
84391 if( HasRowid(pTab)==0 ){
91981 assert( (pOp->p5 & OPFLAG_ISNOOP) || HasRowid(pTab) );
92111 && HasRowid(pOp->p4.pTab)
92146 || HasRowid(pTab)==0
92185 if( db->xUpdateCallback && ALWAYS(pTab!=0) && HasRowid(pTab) ){
95343 if( pTab && !HasRowid(pTab) ){
105392 }else if( !HasRowid(pTab) ){
110157 if( HasRowid(pTab) ){
111277 if( !HasRowid(pTab) && IsPrimaryKeyIndex(pIdx) ){
111439 if( HasRowid(pTab) ){
111497 u8 seekOp = HasRowid(pTab) ? OP_NotExists : OP_NotFound;
111911 if( pTab && !HasRowid(pTab) ) pIdx = sqlite3PrimaryKeyIndex(pTab);
111965 assert( !HasRowid(pIdx->pTable) || pIdx->nColumn==pIdx->nKeyCol+1 );
111966 if( !HasRowid(pIdx->pTable) && IsPrimaryKeyIndex(pIdx) ){
113519 assert( HasRowid(p) || p->iPKey<0 );
115947 assert( HasRowid(p) || p->iPKey<0 );
117005 if( !HasRowid(pTab) ) pPk = sqlite3PrimaryKeyIndex(pTab);
117281 assert( HasRowid(pTab)
117402 else if( HasRowid(pTab) || pTblName!=0 ){
119387 if( HasRowid(pTab) ){
119629 if( HasRowid(pTab) ){
119636 if( IsPrimaryKeyIndex(pIdx) && !HasRowid(pTab) ){
119646 if( HasRowid(pTab) ){
119920 opSeek = HasRowid(pTab) ? OP_NotExists : OP_NotFound;
120062 pPk = HasRowid(pTab) ? 0 : sqlite3PrimaryKeyIndex(pTab);
123116 assert( pIdx!=0 || HasRowid(pTab) );
123166 if( HasRowid(pTab) ){
124060 if( HasRowid(pTab) ){
124428 || !HasRowid(pSeqTab)
124767 withoutRowid = !HasRowid(pTab);
125702 if( HasRowid(pTab) ){
126099 assert( HasRowid(pTab) );
126274 if( HasRowid(pTab) ){
126466 if( HasRowid(pTab) ){
126516 assert( !HasRowid(pTab) );
126571 if( IsPrimaryKeyIndex(pIdx) && !HasRowid(pTab) ){
126583 if( !HasRowid(pTab) ) return;
126655 if( HasRowid(pTab) && (aToOpen==0 || aToOpen[0]) ){
126664 if( IsPrimaryKeyIndex(pIdx) && !HasRowid(pTab) ){
126858 if( HasRowid(pDest)!=HasRowid(pSrc) ){
127001 assert( HasRowid(pDest) || destHasUniqueIdx );
127028 if( HasRowid(pSrc) ){
127115 }else if( !HasRowid(pSrc) && pDestIdx->idxType==SQLITE_IDXTYPE_PRIMARYKEY ){
127121 && !HasRowid(pDest)
130830 if( pTab && !HasRowid(pTab) ){
131090 if( HasRowid(pTab) ){
131210 if( HasRowid(pTab) ) cnt++;
131224 if( HasRowid(pTab) ) aRoot[++cnt] = pTab->tnum;
131259 pPk = HasRowid(pTab) ? 0 : sqlite3PrimaryKeyIndex(pTab);
134219 if( !HasRowid(pTab) ){
134883 if( HasRowid(pTab) ){
139320 int bCover = (pIdx!=0 && (HasRowid(pTab) || !IsPrimaryKeyIndex(pIdx)));
140620 if( !HasRowid(pTab) ) pBest = sqlite3PrimaryKeyIndex(pTab);
142817 pPk = HasRowid(pTab) ? 0 : sqlite3PrimaryKeyIndex(pTab);
143071 if( nChangeFrom==0 && HasRowid(pTab) ){
143076 assert( pPk!=0 || HasRowid(pTab) );
143155 assert( iCur!=iDataCur || !HasRowid(pTab) );
143160 if( HasRowid(pTab) ){
143619 if( HasRowid(pTab) ){
143670 if( HasRowid(pTab) ){
143875 if( HasRowid(pTab)
144020 if( HasRowid(pTab) ){
145328 assert( HasRowid(pNew) || sqlite3PrimaryKeyIndex(pNew)!=0 );
145329 if( !HasRowid(pNew)
146592 if( !HasRowid(pItem->pTab) && IsPrimaryKeyIndex(pIdx) ){
148410 }else if( HasRowid(pIdx->pTable) ){
148584 if( HasRowid(pTab) ){
148678 if( HasRowid(pTab) ){
148753 && (HasRowid(pTab) || !IsPrimaryKeyIndex(pSubLoop->u.btree.pIndex))
153658 }else if( !HasRowid(pTab) ){
153694 && HasRowid(pTab) /* Not WITHOUT ROWID table. (FIXME: Why not?) */
153810 || !HasRowid(pTab)
154563 assert( nColumn==nKeyCol+1 || !HasRowid(pIndex->pTable) );
154565 || !HasRowid(pIndex->pTable));
155859 if( HasRowid(pTabList->a[0].pTab) && (wsFlags & WHERE_IDX_ONLY) ){
155937 if( !HasRowid(pTab) && IsPrimaryKeyIndex(pIx)
156285 if( pWInfo->eOnePass==ONEPASS_OFF || !HasRowid(pIdx->pTable) ){
156314 if( !HasRowid(pTab) ){
170381 if( HasRowid(pTab) && sqlite3IsRowid(zColumnName) ){