Searched refs:aCol (Results 1 – 8 of 8) sorted by relevance
/titanic_44/usr/src/lib/libsqlite/src/ |
H A D | build.c | 350 sqliteFree(pTable->aCol[i].zName); in sqliteDeleteTable() 351 sqliteFree(pTable->aCol[i].zDflt); in sqliteDeleteTable() 352 sqliteFree(pTable->aCol[i].zType); in sqliteDeleteTable() 355 sqliteFree(pTable->aCol); in sqliteDeleteTable() 522 pTable->aCol = 0; in sqliteStartTable() 569 if( sqliteStrICmp(z, p->aCol[i].zName)==0 ){ in sqliteAddColumn() 577 aNew = sqliteRealloc( p->aCol, (p->nCol+8)*sizeof(p->aCol[0])); in sqliteAddColumn() 579 p->aCol = aNew; in sqliteAddColumn() 581 pCol = &p->aCol[p->nCol]; in sqliteAddColumn() 582 memset(pCol, 0, sizeof(p->aCol[0])); in sqliteAddColumn() [all …]
|
H A D | pragma.c | 386 sqliteVdbeOp3(v, OP_String, 0, 0, pTab->aCol[i].zName, 0); in sqlitePragma() 388 pTab->aCol[i].zType ? pTab->aCol[i].zType : "numeric", 0); in sqlitePragma() 389 sqliteVdbeAddOp(v, OP_Integer, pTab->aCol[i].notNull, 0); in sqlitePragma() 391 pTab->aCol[i].zDflt, P3_STATIC); in sqlitePragma() 392 sqliteVdbeAddOp(v, OP_Integer, pTab->aCol[i].isPrimKey, 0); in sqlitePragma() 416 sqliteVdbeOp3(v, OP_String, 0, 0, pTab->aCol[cnum].zName, 0); in sqlitePragma() 476 pTab->aCol[pFK->aCol[j].iFrom].zName, 0); in sqlitePragma() 477 sqliteVdbeOp3(v, OP_String, 0, 0, pFK->aCol[j].zCol, 0); in sqlitePragma()
|
H A D | insert.c | 290 if( sqliteStrICmp(pColumn->a[i].zName, pTab->aCol[j].zName)==0 ){ in sqliteInsert() 390 sqliteVdbeOp3(v, OP_String, 0, 0, pTab->aCol[i].zDflt, P3_STATIC); in sqliteInsert() 463 sqliteVdbeOp3(v, OP_String, 0, 0, pTab->aCol[i].zDflt, P3_STATIC); in sqliteInsert() 657 onError = pTab->aCol[i].notNull; in sqliteGenerateConstraintChecks() 666 if( onError==OE_Replace && pTab->aCol[i].zDflt==0 ){ in sqliteGenerateConstraintChecks() 677 sqliteSetString(&zMsg, pTab->zName, ".", pTab->aCol[i].zName, in sqliteGenerateConstraintChecks() 688 sqliteVdbeOp3(v, OP_String, 0, 0, pTab->aCol[i].zDflt, P3_STATIC); in sqliteGenerateConstraintChecks() 811 char *zCol = pTab->aCol[pIdx->aiColumn[j]].zName; in sqliteGenerateConstraintChecks()
|
H A D | auth.c | 138 zCol = pTab->aCol[pExpr->iColumn].zName; in sqliteAuthRead() 141 zCol = pTab->aCol[pTab->iPKey].zName; in sqliteAuthRead()
|
H A D | select.c | 145 if( sqliteStrICmp(pTab->aCol[i].zName, zCol)==0 ) return i; in columnIndex() 234 if( columnIndex(pOther->pTab, pTab->aCol[j].zName)>=0 ){ in sqliteProcessJoin() 235 addWhereTerm(pTab->aCol[j].zName, pTab, pOther->pTab, &p->pWhere); in sqliteProcessJoin() 684 zType = pTab->aCol[iCol].zType; in generateColumnTypes() 739 zCol = pTab->aCol[iCol].zName; in generateColumnNames() 794 Column *aCol; in sqliteResultSetOfSelect() local 807 pTab->aCol = aCol = sqliteMalloc( sizeof(pTab->aCol[0])*pTab->nCol ); in sqliteResultSetOfSelect() 811 aCol[i].zName = sqliteStrDup(pEList->a[i].zName); in sqliteResultSetOfSelect() 815 sqliteSetNString(&aCol[i].zName, pR->token.z, pR->token.n, 0); in sqliteResultSetOfSelect() 817 if( sqliteStrICmp(aCol[j].zName, aCol[i].zName)==0 ){ in sqliteResultSetOfSelect() [all …]
|
H A D | update.c | 127 if( sqliteStrICmp(pTab->aCol[j].zName, pChanges->a[i].zName)==0 ){ in sqliteUpdate() 149 pTab->aCol[j].zName, db->aDb[pTab->iDb].zName); in sqliteUpdate()
|
H A D | sqliteInt.h | 502 Column *aCol; /* Information about each column */ member 550 } *aCol; /* One entry for each of nCol column s */ member
|
H A D | expr.c | 474 for(j=0, pCol=pTab->aCol; j<pTab->nCol; j++, pCol++){ in lookupName() 505 Column *pCol = pTab->aCol; in lookupName()
|