Home
last modified time | relevance | path

Searched refs:zCol (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dauth.c111 const char *zCol; /* Name of the column of the table */ in sqliteAuthRead() local
135 zCol = pTab->aCol[pExpr->iColumn].zName; in sqliteAuthRead()
138 zCol = pTab->aCol[pTab->iPKey].zName; in sqliteAuthRead()
140 zCol = "ROWID"; in sqliteAuthRead()
144 rc = db->xAuth(db->pAuthArg, SQLITE_READ, pTab->zName, zCol, zDBase, in sqliteAuthRead()
151 zDBase, pTab->zName, zCol); in sqliteAuthRead()
153 sqliteErrorMsg(pParse, "access to %s.%s is prohibited", pTab->zName,zCol); in sqliteAuthRead()
H A Dexpr.c441 sqliteDequote(zCol); in lookupName()
472 if( sqliteStrICmp(pCol->zName, zCol)==0 ){ in lookupName()
507 if( sqliteStrICmp(pCol->zName, zCol)==0 ){ in lookupName()
520 if( cnt==0 && cntTab==1 && sqliteIsRowid(zCol) ){ in lookupName()
541 if( zAs!=0 && sqliteStrICmp(zAs, zCol)==0 ){ in lookupName()
546 sqliteFree(zCol); in lookupName()
561 sqliteFree(zCol); in lookupName()
574 sqliteSetString(&z, zDb, ".", zTab, ".", zCol, 0); in lookupName()
576 sqliteSetString(&z, zTab, ".", zCol, 0); in lookupName()
578 z = sqliteStrDup(zCol); in lookupName()
[all …]
H A Dselect.c138 static int columnIndex(Table *pTab, const char *zCol){ in columnIndex() argument
141 if( sqliteStrICmp(pTab->aCol[i].zName, zCol)==0 ) return i; in columnIndex()
151 const char *zCol, /* Name of the column */ in addWhereTerm() argument
161 dummy.z = zCol; in addWhereTerm()
162 dummy.n = strlen(zCol); in addWhereTerm()
725 char *zCol; in generateColumnNames() local
733 zCol = "_ROWID_"; in generateColumnNames()
735 zCol = pTab->aCol[iCol].zName; in generateColumnNames()
746 sqliteSetString(&zName, zTab, ".", zCol, 0); in generateColumnNames()
749 sqliteVdbeOp3(v, OP_ColumnName, i, p2, zCol, 0); in generateColumnNames()
H A Dinsert.c808 char *zCol = pTab->aCol[pIdx->aiColumn[j]].zName; in sqliteGenerateConstraintChecks() local
809 n2 = strlen(zCol); in sqliteGenerateConstraintChecks()
819 strcpy(&zErrMsg[n1], zCol); in sqliteGenerateConstraintChecks()
H A Dpragma.c474 sqliteVdbeOp3(v, OP_String, 0, 0, pFK->aCol[j].zCol, 0); in sqlitePragma()
H A DsqliteInt.h546 char *zCol; /* Name of column in zTo. If 0 use PRIMARY KEY */ member
H A Dbuild.c1424 pFKey->aCol[i].zCol = z; in sqliteCreateForeignKey()