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

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dcopy.c77 if( pTab->iPKey>=0 ){
78 sqliteVdbeAddOp(v, OP_FileColumn, pTab->iPKey, 0);
84 if( i==pTab->iPKey ){
92 sqliteGenerateConstraintChecks(pParse, pTab, 0, 0, pTab->iPKey>=0,
H A Dauth.c139 }else if( pTab->iPKey>=0 ){
140 assert( pTab->iPKey<pTab->nCol );
141 zCol = pTab->aCol[pTab->iPKey].zName;
H A Dupdate.c128 if( j==pTab->iPKey ){
288 if( i==pTab->iPKey ){
366 if( i==pTab->iPKey ){
H A Dinsert.c282 ** key in the original table is pTab->iPKey.)
292 if( j==pTab->iPKey ){
316 keyColumn = pTab->iPKey;
447 if( i==pTab->iPKey ){
654 if( i==pTab->iPKey ){
772 if( idx==pTab->iPKey ){
H A Dexpr.c480 pExpr->iColumn = j==pTab->iPKey ? -1 : j;
512 pExpr->iColumn = j==pTab->iPKey ? -1 : j;
H A Ddelete.c386 if( idx==pTab->iPKey ){
H A Dbuild.c523 pTable->iPKey = -1;
675 ** if the file format version number is less than 1.) Set the Table.iPKey
677 ** INTEGER PRIMARY KEY column. Table.iPKey is set to -1 if there is
711 pTab->iPKey = iCol;
1724 if( pTab->iPKey==iCol ){
H A Dpragma.c666 if( idx==pTab->iPKey ){
H A DsqliteInt.h480 ** If the table has an INTEGER PRIMARY KEY, then Table.iPKey is the index of
481 ** the column that is that key. Otherwise Table.iPKey is negative. Note
503 int iPKey; /* If not less then 0, use aCol[iPKey] as the primary key */ member in struct:Table
511 u8 keyConf; /* What to do in case of uniqueness conflict on iPKey */
H A Dselect.c679 if( iCol<0 ) iCol = pTab->iPKey;
734 if( iCol<0 ) iCol = pTab->iPKey;
835 pTab->iPKey = -1;

Completed in 397 milliseconds