Home | History | Annotate | Download | only in dist

Lines Matching refs:zCol

10259     char *zCol;        /* Name of column in zTo.  If 0 use PRIMARY KEY */
73305 ** Return TRUE if the name zCol occurs anywhere in the USING clause.
73308 ** zCol.
73310 static int nameInUsingClause(IdList *pUsing, const char *zCol){
73314 if( sqlite3StrICmp(pUsing->a[k].zName, zCol)==0 ) return 1;
73352 const char *zCol, /* Name of the column. */
73367 assert( zCol ); /* The Z in X.Y.Z cannot be NULL */
73411 if( sqlite3StrICmp(pCol->zName, zCol)==0 ){
73418 if( nameInUsingClause(pItem->pUsing, zCol) ) continue;
73455 if( sqlite3StrICmp(pCol->zName, zCol)==0 ){
73462 if( iCol>=pTab->nCol && sqlite3IsRowid(zCol) ){
73489 if( cnt==0 && cntTab==1 && sqlite3IsRowid(zCol) ){
73510 if( zAs!=0 && sqlite3StrICmp(zAs, zCol)==0 ){
73561 sqlite3ErrorMsg(pParse, "%s: %s.%s.%s", zErr, zDb, zTab, zCol);
73563 sqlite3ErrorMsg(pParse, "%s: %s.%s", zErr, zTab, zCol);
73565 sqlite3ErrorMsg(pParse, "%s: %s", zErr, zCol);
73840 char *zCol = pE->u.zToken;
73843 if( zAs!=0 && sqlite3StrICmp(zAs, zCol)==0 ){
79096 char *zCol; /* Null-terminated column definition */
79170 zCol = sqlite3DbStrNDup(db, (char*)pColDef->z, pColDef->n);
79171 if( zCol ){
79172 char *zEnd = &zCol[pColDef->n-1];
79174 while( zEnd>zCol && (*zEnd==';' || sqlite3Isspace(*zEnd)) ){
79182 zDb, SCHEMA_TABLE(iDb), pNew->addColOffset, zCol, pNew->addColOffset+1,
79185 sqlite3DbFree(db, zCol);
81074 ** Invoke the authorization callback for permission to read column zCol from
81085 const char *zCol, /* Column name */
81092 rc = db->xAuth(db->pAuthArg, SQLITE_READ, zTab,zCol,zDb,pParse->zAuthContext);
81095 sqlite3ErrorMsg(pParse, "access to %s.%s.%s is prohibited",zDb,zTab,zCol);
81097 sqlite3ErrorMsg(pParse, "access to %s.%s is prohibited", zTab, zCol);
81123 const char *zCol; /* Name of the column of the table */
81153 zCol = pTab->aCol[iCol].zName;
81156 zCol = pTab->aCol[pTab->iPKey].zName;
81158 zCol = "ROWID";
81161 if( SQLITE_IGNORE==sqlite3AuthReadCol(pParse, pTab->zName, zCol, iDb) ){
83505 pFKey->aCol[i].zCol = z;
87968 char *zKey = pFKey->aCol[0].zCol; /* Name of left-most parent key column */
88041 if( sqlite3StrICmp(pFKey->aCol[j].zCol, zIdxCol)==0 ){
88283 const char *zCol; /* Name of column in child table */
88304 zCol = pFKey->pFrom->aCol[iCol].zName;
88305 pRight = sqlite3Expr(db, TK_ID, zCol);
88552 char *zCol = pTo->aCol[pIdx ? pIdx->aiColumn[i] : pTo->iPKey].zName;
88553 rcauth = sqlite3AuthReadCol(pParse, pTo->zName, zCol, iDb);
88701 char *zKey = p->aCol[i].zCol;
90374 char *zCol = pTab->aCol[pIdx->aiColumn[j]].zName;
90377 sqlite3StrAccumAppend(&errMsg, zCol, -1);
93148 char *zCol = pFK->aCol[j].zCol;
93156 sqlite3VdbeAddOp4(v, zCol ? OP_String8 : OP_Null, 0, 5, 0, zCol, 0);
94726 static int columnIndex(Table *pTab, const char *zCol){
94729 if( sqlite3StrICmp(pTab->aCol[i].zName, zCol)==0 ) return i;
94736 ** table that has a column named zCol.
94746 const char *zCol, /* Name of the column we are looking for */
94751 int iCol; /* Index of column matching zCol */
94755 iCol = columnIndex(pSrc->a[i].pTab, zCol);
95738 char *zCol;
95748 zCol = "rowid";
95750 zCol = pTab->aCol[iCol].zName;
95757 zName = sqlite3MPrintf(db, "%s.%s", pTab->zName, zCol);
95760 sqlite3VdbeSetColName(v, i, COLNAME_NAME, zCol, SQLITE_TRANSIENT);
117670 const char *zCol = sqlite3_column_name(pStmt, i);
117671 nStr += (int)strlen(zCol) + 1;
117681 const char *zCol = sqlite3_column_name(pStmt, i);
117682 int n = (int)strlen(zCol)+1;
117683 memcpy(p, zCol, n);