Searched refs:iCol (Results 1 – 2 of 2) sorted by relevance
671 int iCol = p->iColumn; in generateColumnTypes() local675 if( iCol<0 ) iCol = pTab->iPKey; in generateColumnTypes()676 assert( iCol==-1 || (iCol>=0 && iCol<pTab->nCol) ); in generateColumnTypes()677 if( iCol<0 ){ in generateColumnTypes()680 zType = pTab->aCol[iCol].zType; in generateColumnTypes()726 int iCol = p->iColumn; in generateColumnNames() local730 if( iCol<0 ) iCol = pTab->iPKey; in generateColumnNames()731 assert( iCol==-1 || (iCol>=0 && iCol<pTab->nCol) ); in generateColumnNames()732 if( iCol<0 ){ in generateColumnNames()735 zCol = pTab->aCol[iCol].zName; in generateColumnNames()[all …]
683 int iCol = -1, i; in sqliteAddPrimaryKey() local692 iCol = pTab->nCol - 1; in sqliteAddPrimaryKey()693 pTab->aCol[iCol].isPrimKey = 1; in sqliteAddPrimaryKey()696 for(iCol=0; iCol<pTab->nCol; iCol++){ in sqliteAddPrimaryKey()697 if( sqliteStrICmp(pList->a[i].zName, pTab->aCol[iCol].zName)==0 ) break; in sqliteAddPrimaryKey()699 if( iCol<pTab->nCol ) pTab->aCol[iCol].isPrimKey = 1; in sqliteAddPrimaryKey()701 if( pList->nId>1 ) iCol = -1; in sqliteAddPrimaryKey()703 if( iCol>=0 && iCol<pTab->nCol ){ in sqliteAddPrimaryKey()704 zType = pTab->aCol[iCol].zType; in sqliteAddPrimaryKey()708 pTab->iPKey = iCol; in sqliteAddPrimaryKey()[all …]