Home
last modified time | relevance | path

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

1234567891011

/dports/databases/sqlite2/sqlite-2.8.17/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()
/dports/databases/p5-DBD-SQLite2/DBD-SQLite2-0.38/
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()
/dports/databases/db5/db-5.3.28/lang/sql/sqlite/src/
H A Dauth.c173 }else if( pTab->iPKey>=0 ){ in sqlite3AuthRead()
174 assert( pTab->iPKey<pTab->nCol ); in sqlite3AuthRead()
175 zCol = pTab->aCol[pTab->iPKey].zName; in sqlite3AuthRead()
H A Dfkey.c214 if( pParent->iPKey>=0 ){ in locateFkeyIndex()
216 if( !sqlite3StrICmp(pParent->aCol[pParent->iPKey].zName, zKey) ) return 0; in locateFkeyIndex()
504 if( pTab->iPKey==iCol ) iCol = -1; in fkScanChildren()
737 if( aiCol[i]==pTab->iPKey ){ in sqlite3FkCheck()
746 char *zCol = pTo->aCol[pIdx ? pIdx->aiColumn[i] : pTo->iPKey].zName; in sqlite3FkCheck()
888 if( iChildKey==pTab->iPKey && chngRowid ) return 1; in sqlite3FkRequired()
901 if( iKey==pTab->iPKey && chngRowid ) return 1; in sqlite3FkRequired()
H A Dupdate.c200 if( j==pTab->iPKey ){ in sqlite3Update()
425 if( i==pTab->iPKey ){ in sqlite3Update()
468 if( aXRef[i]<0 && i!=pTab->iPKey ){ in sqlite3Update()
622 assert( pTab->iPKey<0 ); in updateVirtualTable()
H A Dinsert.c719 if( j==pTab->iPKey ){ in sqlite3Insert()
743 keyColumn = pTab->iPKey; in sqlite3Insert()
932 if( i==pTab->iPKey ){ in sqlite3Insert()
1170 if( i==pTab->iPKey ){ in sqlite3GenerateConstraintChecks()
1323 if( idx==pTab->iPKey ){ in sqlite3GenerateConstraintChecks()
1707 if( pDest->iPKey!=pSrc->iPKey ){ in xferOptimization()
1756 if( (pDest->iPKey<0 && pDest->pIndex!=0) || destHasUniqueIdx ){ in xferOptimization()
1777 if( pDest->iPKey>=0 ){ in xferOptimization()
/dports/databases/sqlcipher/sqlcipher-3.4.2/src/
H A Dfkey.c216 if( pParent->iPKey>=0 ){ in sqlite3FkLocateIndex()
218 if( !sqlite3StrICmp(pParent->aCol[pParent->iPKey].zName, zKey) ) return 0; in sqlite3FkLocateIndex()
408 assert( aiCol[i]!=pTab->iPKey ); in fkLookupParent()
409 if( pIdx->aiColumn[i]==pTab->iPKey ){ in fkLookupParent()
472 if( iCol>=0 && iCol!=pTab->iPKey ){ in exprTableRegister()
776 if( iChildKey==pTab->iPKey && bChngRowid ) return 1; in fkChildIsModified()
804 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){ in fkParentIsModified()
935 if( aiCol[i]==pTab->iPKey ){ in sqlite3FkCheck()
945 char *zCol = pTo->aCol[pIdx ? pIdx->aiColumn[i] : pTo->iPKey].zName; in sqlite3FkCheck()
1212 assert( pIdx!=0 || (pTab->iPKey>=0 && pTab->iPKey<pTab->nCol) ); in fkActionTrigger()
[all …]
H A Dauth.c181 }else if( pTab->iPKey>=0 ){ in sqlite3AuthRead()
182 assert( pTab->iPKey<pTab->nCol ); in sqlite3AuthRead()
183 zCol = pTab->aCol[pTab->iPKey].zName; in sqlite3AuthRead()
H A Dinsert.c648 if( j==pTab->iPKey ){ in sqlite3Insert()
759 ipkColumn = pTab->iPKey; in sqlite3Insert()
952 if( i==pTab->iPKey ){ in sqlite3Insert()
1281 if( i==pTab->iPKey ){ in sqlite3GenerateConstraintChecks()
1520 if( iField==XN_ROWID || iField==pTab->iPKey ){ in sqlite3GenerateConstraintChecks()
1988 if( pDest->iPKey>=0 ) onError = pDest->keyConf; in xferOptimization()
2055 if( pDest->iPKey!=pSrc->iPKey ){ in xferOptimization()
2139 (pDest->iPKey<0 && pDest->pIndex!=0) /* (1) */ in xferOptimization()
2168 if( pDest->iPKey>=0 ){ in xferOptimization()
/dports/databases/sqlite3/sqlite-src-3350500/src/
H A Dfkey.c216 if( pParent->iPKey>=0 ){ in sqlite3FkLocateIndex()
218 if( !sqlite3StrICmp(pParent->aCol[pParent->iPKey].zName, zKey) ) return 0; in sqlite3FkLocateIndex()
420 assert( aiCol[i]!=pTab->iPKey ); in fkLookupParent()
421 if( pIdx->aiColumn[i]==pTab->iPKey ){ in fkLookupParent()
484 if( iCol>=0 && iCol!=pTab->iPKey ){ in exprTableRegister()
792 if( iChildKey==pTab->iPKey && bChngRowid ) return 1; in fkChildIsModified()
820 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){ in fkParentIsModified()
953 if( aiCol[i]==pTab->iPKey ){ in sqlite3FkCheck()
963 char *zCol = pTo->aCol[pIdx ? pIdx->aiColumn[i] : pTo->iPKey].zName; in sqlite3FkCheck()
1233 assert( pIdx!=0 || (pTab->iPKey>=0 && pTab->iPKey<pTab->nCol) ); in fkActionTrigger()
[all …]
H A Dauth.c179 }else if( pTab->iPKey>=0 ){ in sqlite3AuthRead()
180 assert( pTab->iPKey<pTab->nCol ); in sqlite3AuthRead()
181 zCol = pTab->aCol[pTab->iPKey].zName; in sqlite3AuthRead()
H A Dinsert.c800 if( j==pTab->iPKey ){ in sqlite3Insert()
919 ipkColumn = pTab->iPKey; in sqlite3Insert()
1063 if( i==pTab->iPKey ){ in sqlite3Insert()
1646 if( i==pTab->iPKey ){ in sqlite3GenerateConstraintChecks()
2107 }else if( iField==XN_ROWID || iField==pTab->iPKey ){ in sqlite3GenerateConstraintChecks()
2719 if( pDest->iPKey>=0 ) onError = pDest->keyConf; in xferOptimization()
2786 if( pDest->iPKey!=pSrc->iPKey ){ in xferOptimization()
2911 (pDest->iPKey<0 && pDest->pIndex!=0) /* (1) */ in xferOptimization()
2940 if( pDest->iPKey>=0 ){ in xferOptimization()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/sqlite/src/src/
H A Dfkey.c216 if( pParent->iPKey>=0 ){ in sqlite3FkLocateIndex()
218 if( !sqlite3StrICmp(pParent->aCol[pParent->iPKey].zName, zKey) ) return 0; in sqlite3FkLocateIndex()
420 assert( aiCol[i]!=pTab->iPKey ); in fkLookupParent()
421 if( pIdx->aiColumn[i]==pTab->iPKey ){ in fkLookupParent()
484 if( iCol>=0 && iCol!=pTab->iPKey ){ in exprTableRegister()
792 if( iChildKey==pTab->iPKey && bChngRowid ) return 1; in fkChildIsModified()
820 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){ in fkParentIsModified()
953 if( aiCol[i]==pTab->iPKey ){ in sqlite3FkCheck()
963 char *zCol = pTo->aCol[pIdx ? pIdx->aiColumn[i] : pTo->iPKey].zName; in sqlite3FkCheck()
1230 assert( pIdx!=0 || (pTab->iPKey>=0 && pTab->iPKey<pTab->nCol) ); in fkActionTrigger()
[all …]
H A Dauth.c180 }else if( pTab->iPKey>=0 ){ in sqlite3AuthRead()
181 assert( pTab->iPKey<pTab->nCol ); in sqlite3AuthRead()
182 zCol = pTab->aCol[pTab->iPKey].zName; in sqlite3AuthRead()
H A Dinsert.c797 if( j==pTab->iPKey ){ in sqlite3Insert()
916 ipkColumn = pTab->iPKey; in sqlite3Insert()
1047 if( i==pTab->iPKey ){ in sqlite3Insert()
1568 if( i==pTab->iPKey ){ in sqlite3GenerateConstraintChecks()
1968 }else if( iField==XN_ROWID || iField==pTab->iPKey ){ in sqlite3GenerateConstraintChecks()
2557 if( pDest->iPKey>=0 ) onError = pDest->keyConf; in xferOptimization()
2624 if( pDest->iPKey!=pSrc->iPKey ){ in xferOptimization()
2748 (pDest->iPKey<0 && pDest->pIndex!=0) /* (1) */ in xferOptimization()
2777 if( pDest->iPKey>=0 ){ in xferOptimization()
H A Dbuild.c1088 pTable->iPKey = -1; in sqlite3StartTable()
1546 pTab->iPKey = iCol; in sqlite3AddPrimaryKey()
1863 if( pTab->iPKey<0 ) wTable++; in estimateTableWidth()
2019 if( pTab->iPKey>=0 ){ in convertToWithoutRowidTable()
2031 pTab->iPKey = -1; in convertToWithoutRowidTable()
2222 || p->iPKey>=0 || sqlite3PrimaryKeyIndex(p)!=0 ); in sqlite3EndTable()
2224 || (p->iPKey<0 && sqlite3PrimaryKeyIndex(p)==0) ); in sqlite3EndTable()
3689 j = pTab->iPKey; in sqlite3CreateIndex()
3751 || pTab->iPKey<0 || sqlite3TableColumnToIndex(pIndex, pTab->iPKey)>=0 ); in sqlite3CreateIndex()
3756 if( j==pTab->iPKey ) continue; in sqlite3CreateIndex()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/sqlite/src/src/
H A Dfkey.c216 if( pParent->iPKey>=0 ){ in sqlite3FkLocateIndex()
218 if( !sqlite3StrICmp(pParent->aCol[pParent->iPKey].zName, zKey) ) return 0; in sqlite3FkLocateIndex()
420 assert( aiCol[i]!=pTab->iPKey ); in fkLookupParent()
421 if( pIdx->aiColumn[i]==pTab->iPKey ){ in fkLookupParent()
484 if( iCol>=0 && iCol!=pTab->iPKey ){ in exprTableRegister()
792 if( iChildKey==pTab->iPKey && bChngRowid ) return 1; in fkChildIsModified()
820 if( aChange[iKey]>=0 || (iKey==pTab->iPKey && bChngRowid) ){ in fkParentIsModified()
953 if( aiCol[i]==pTab->iPKey ){ in sqlite3FkCheck()
963 char *zCol = pTo->aCol[pIdx ? pIdx->aiColumn[i] : pTo->iPKey].zName; in sqlite3FkCheck()
1230 assert( pIdx!=0 || (pTab->iPKey>=0 && pTab->iPKey<pTab->nCol) ); in fkActionTrigger()
[all …]
H A Dauth.c180 }else if( pTab->iPKey>=0 ){ in sqlite3AuthRead()
181 assert( pTab->iPKey<pTab->nCol ); in sqlite3AuthRead()
182 zCol = pTab->aCol[pTab->iPKey].zName; in sqlite3AuthRead()
H A Dinsert.c798 if( j==pTab->iPKey ){ in sqlite3Insert()
917 ipkColumn = pTab->iPKey; in sqlite3Insert()
1048 if( i==pTab->iPKey ){ in sqlite3Insert()
1569 if( i==pTab->iPKey ){ in sqlite3GenerateConstraintChecks()
1973 }else if( iField==XN_ROWID || iField==pTab->iPKey ){ in sqlite3GenerateConstraintChecks()
2564 if( pDest->iPKey>=0 ) onError = pDest->keyConf; in xferOptimization()
2631 if( pDest->iPKey!=pSrc->iPKey ){ in xferOptimization()
2755 (pDest->iPKey<0 && pDest->pIndex!=0) /* (1) */ in xferOptimization()
2784 if( pDest->iPKey>=0 ){ in xferOptimization()

1234567891011