Lines Matching refs:zCol

15892     char *zCol;           /* Name of column in zTo.  If NULL use PRIMARY KEY */  member
91263 static int nameInUsingClause(IdList *pUsing, const char *zCol){
91267 if( sqlite3StrICmp(pUsing->a[k].zName, zCol)==0 ) return 1;
91282 const char *zCol,
91297 if( zCol && sqlite3StrICmp(zSpan, zCol)!=0 ){
91334 const char *zCol, /* Name of the column. */
91352 assert( zCol ); /* The Z in X.Y.Z cannot be NULL */
91399 if( sqlite3MatchSpanName(pEList->a[j].zSpan, zCol, zTab, zDb) ){
91423 if( sqlite3StrICmp(pCol->zName, zCol)==0 ){
91430 if( nameInUsingClause(pItem->pUsing, zCol) ) continue;
91474 if( sqlite3StrICmp(pCol->zName, zCol)==0 ){
91481 if( iCol>=pTab->nCol && sqlite3IsRowid(zCol) && VisibleRowid(pTab) ){
91513 && sqlite3IsRowid(zCol)
91545 if( zAs!=0 && sqlite3StrICmp(zAs, zCol)==0 ){
91601 sqlite3ErrorMsg(pParse, "%s: %s.%s.%s", zErr, zDb, zTab, zCol);
91603 sqlite3ErrorMsg(pParse, "%s: %s.%s", zErr, zTab, zCol);
91605 sqlite3ErrorMsg(pParse, "%s: %s", zErr, zCol);
92001 char *zCol = pE->u.zToken;
92004 if( zAs!=0 && sqlite3StrICmp(zAs, zCol)==0 ){
98618 char *zCol; /* Null-terminated column definition */
98699 zCol = sqlite3DbStrNDup(db, (char*)pColDef->z, pColDef->n);
98700 if( zCol ){
98701 char *zEnd = &zCol[pColDef->n-1];
98703 while( zEnd>zCol && (*zEnd==';' || sqlite3Isspace(*zEnd)) ){
98711 zDb, MASTER_NAME, pNew->addColOffset, zCol, pNew->addColOffset+1,
98714 sqlite3DbFree(db, zCol);
101451 const char *zCol, /* Column name */
101459 rc = db->xAuth(db->pAuthArg, SQLITE_READ, zTab,zCol,zDb,pParse->zAuthContext
101465 char *z = sqlite3_mprintf("%s.%s", zTab, zCol);
101492 const char *zCol; /* Name of the column of the table */
101522 zCol = pTab->aCol[iCol].zName;
101525 zCol = pTab->aCol[pTab->iPKey].zName;
101527 zCol = "ROWID";
101530 if( SQLITE_IGNORE==sqlite3AuthReadCol(pParse, pTab->zName, zCol, iDb) ){
104325 pFKey->aCol[i].zCol = z;
105795 char *zCol;
105797 zCol = pTab->aCol[pIdx->aiColumn[j]].zName;
105801 sqlite3StrAccumAppendAll(&errMsg, zCol);
109606 char *zKey = pFKey->aCol[0].zCol; /* Name of left-most parent key column */
109679 if( sqlite3StrICmp(pFKey->aCol[j].zCol, zIdxCol)==0 ){
109992 const char *zCol; /* Name of column in child table */
109998 zCol = pFKey->pFrom->aCol[iCol].zName;
109999 pRight = sqlite3Expr(db, TK_ID, zCol);
110214 char *zKey = p->aCol[i].zCol;
110358 char *zCol = pTo->aCol[pIdx ? pIdx->aiColumn[i] : pTo->iPKey].zName;
110359 rcauth = sqlite3AuthReadCol(pParse, pTo->zName, zCol, iDb);
116582 pFK->aCol[j].zCol,
118944 static int columnIndex(Table *pTab, const char *zCol){
118947 if( sqlite3StrICmp(pTab->aCol[i].zName, zCol)==0 ) return i;
118964 const char *zCol, /* Name of the column we are looking for */
118973 iCol = columnIndex(pSrc->a[i].pTab, zCol);
120304 char *zCol;
120311 zCol = "rowid";
120313 zCol = pTab->aCol[iCol].zName;
120317 zName = sqlite3MPrintf(db, "%s.%s", pTab->zName, zCol);
120320 sqlite3VdbeSetColName(v, i, COLNAME_NAME, zCol, SQLITE_TRANSIENT);
149870 const char *zCol = sqlite3_column_name(pStmt, i);
149871 nStr += (int)strlen(zCol) + 1;
149881 const char *zCol = sqlite3_column_name(pStmt, i);
149882 int n = (int)strlen(zCol)+1;
149883 memcpy(p, zCol, n);
170046 const char *zCol = sqlite3_column_name(pStmt, 0);
170048 "UNIQUE constraint failed: %s.%s", pRtree->zName, zCol
174177 const char *zCol;
174187 zCol = pIter->azTblCol[i];
174189 zCol = "_rowid_";
174191 zCol = "rbu_rowid";
174195 zCol = pIter->azTblCol[iCid];
174199 zRet = sqlite3_mprintf("%z%s\"%w\" COLLATE %Q", zRet, zCom, zCol, zCollate);
174203 zImpPK, zCom, nBind, zCol, zOrder
174207 zImpCols, zCom, nBind, zCol, zType, zCollate
174210 "%z%s\"rbu_imp_%d%w\" IS ?", zWhere, zAnd, nBind, zCol
174262 const char *zCol = pIter->azTblCol[i];
174263 zList = sqlite3_mprintf("%z%s%s.\"%w\"", zList, zS, zObj, zCol);
174317 const char *zCol = pIter->azTblCol[i];
174318 zList = rbuMPrintf(p, "%z%s\"%w\"=?%d", zList, zSep, zCol, i+1);
174465 const char *zCol = (const char*)sqlite3_column_text(pXInfo, 2);
174467 z = rbuMPrintf(p, "%z%s\"%w\"%s", z, zSep, zCol, zDesc);
174580 const char *zCol = pIter->azTblCol[iCol];
174584 p->dbMain, "main", pIter->zTbl, zCol, 0, &zColl, 0, 0, 0
174593 zSql, zComma, zCol, pIter->azTblType[iCol], zPk, zColl,
175628 const char *zCol = sqlite3_column_name(pStmt, iCol);
175629 assert( 0==sqlite3_stricmp(zName, zCol) );
190378 char *zCol,
190383 if( 0==sqlite3_stricmp(zCol, FTS5_RANK_NAME)
190384 || 0==sqlite3_stricmp(zCol, FTS5_ROWID_NAME)
190386 *pzErr = sqlite3_mprintf("reserved fts5 column name: %s", zCol);
190397 p->azCol[p->nCol++] = zCol;