Home
last modified time | relevance | path

Searched refs:iPKey (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dcopy.c74 if( pTab->iPKey>=0 ){ in sqliteCopy()
75 sqliteVdbeAddOp(v, OP_FileColumn, pTab->iPKey, 0); in sqliteCopy()
81 if( i==pTab->iPKey ){ in sqliteCopy()
89 sqliteGenerateConstraintChecks(pParse, pTab, 0, 0, pTab->iPKey>=0, in sqliteCopy()
H A Dauth.c136 }else if( pTab->iPKey>=0 ){ in sqliteAuthRead()
137 assert( pTab->iPKey<pTab->nCol ); in sqliteAuthRead()
138 zCol = pTab->aCol[pTab->iPKey].zName; in sqliteAuthRead()
H A Dupdate.c125 if( j==pTab->iPKey ){ in sqliteUpdate()
285 if( i==pTab->iPKey ){ in sqliteUpdate()
363 if( i==pTab->iPKey ){ in sqliteUpdate()
H A Dinsert.c289 if( j==pTab->iPKey ){ in sqliteInsert()
313 keyColumn = pTab->iPKey; in sqliteInsert()
444 if( i==pTab->iPKey ){ in sqliteInsert()
651 if( i==pTab->iPKey ){ in sqliteGenerateConstraintChecks()
769 if( idx==pTab->iPKey ){ in sqliteGenerateConstraintChecks()
H A Ddelete.c383 if( idx==pTab->iPKey ){ in sqliteGenerateRowIndexDelete()
H A Dbuild.c520 pTable->iPKey = -1; in sqliteStartTable()
708 pTab->iPKey = iCol; in sqliteAddPrimaryKey()
1721 if( pTab->iPKey==iCol ){ in sqliteCreateIndex()
H A Dpragma.c663 if( idx==pTab->iPKey ){ in sqlitePragma()
H A DsqliteInt.h500 int iPKey; /* If not less then 0, use aCol[iPKey] as the primary key */ member
H A Dselect.c675 if( iCol<0 ) iCol = pTab->iPKey; in generateColumnTypes()
730 if( iCol<0 ) iCol = pTab->iPKey; in generateColumnNames()
831 pTab->iPKey = -1; in sqliteResultSetOfSelect()
H A Dexpr.c477 pExpr->iColumn = j==pTab->iPKey ? -1 : j; in lookupName()
509 pExpr->iColumn = j==pTab->iPKey ? -1 : j; in lookupName()