Home
last modified time | relevance | path

Searched refs:nCol (Results 1 – 12 of 12) sorted by relevance

/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dtable.c43 static int sqlite_get_table_cb(void *pArg, int nCol, char **argv, char **colv){ in sqlite_get_table_cb() argument
53 need = nCol*2; in sqlite_get_table_cb()
55 need = nCol; in sqlite_get_table_cb()
72 p->nColumn = nCol; in sqlite_get_table_cb()
73 for(i=0; i<nCol; i++){ in sqlite_get_table_cb()
86 }else if( p->nColumn!=nCol ){ in sqlite_get_table_cb()
97 for(i=0; i<nCol; i++){ in sqlite_get_table_cb()
H A Dinsert.c259 if( pColumn==0 && nColumn!=pTab->nCol ){ in sqliteInsert()
262 pTabList, 0, pTab->nCol, nColumn); in sqliteInsert()
286 for(j=0; j<pTab->nCol; j++){ in sqliteInsert()
295 if( j>=pTab->nCol ){ in sqliteInsert()
378 for(i=0; i<pTab->nCol; i++){ in sqliteInsert()
443 for(i=0; i<pTab->nCol; i++){ in sqliteInsert()
632 int nCol; in sqliteGenerateConstraintChecks() local
646 nCol = pTab->nCol; in sqliteGenerateConstraintChecks()
650 for(i=0; i<nCol; i++){ in sqliteGenerateConstraintChecks()
666 sqliteVdbeAddOp(v, OP_Dup, nCol-1-i, 1); in sqliteGenerateConstraintChecks()
[all …]
H A Dbuild.c518 pTable->nCol = 0; in sqliteStartTable()
582 p->nCol++; in sqliteAddColumn()
595 i = p->nCol-1; in sqliteAddNotNull()
615 i = p->nCol-1; in sqliteAddColumnType()
649 i = p->nCol-1; in sqliteAddDefaultValue()
755 i = p->nCol-1; in sqliteAddCollateType()
898 p->nCol = pSelTab->nCol; in sqliteEndTable()
1101 pTable->nCol = pSelTab->nCol; in sqliteViewGetColumnNames()
1359 int nCol; in sqliteCreateForeignKey() local
1374 nCol = 1; in sqliteCreateForeignKey()
[all …]
H A Dupdate.c87 aXRef = sqliteMalloc( sizeof(int) * pTab->nCol ); in sqliteUpdate()
89 for(i=0; i<pTab->nCol; i++) aXRef[i] = -1; in sqliteUpdate()
123 for(j=0; j<pTab->nCol; j++){ in sqliteUpdate()
133 if( j>=pTab->nCol ){ in sqliteUpdate()
284 for(i=0; i<pTab->nCol; i++){ in sqliteUpdate()
296 sqliteVdbeAddOp(v, OP_MakeRecord, pTab->nCol, 0); in sqliteUpdate()
362 for(i=0; i<pTab->nCol; i++){ in sqliteUpdate()
H A Dcopy.c67 addr = sqliteVdbeAddOp(v, OP_FileRead, pTab->nCol, end); in sqliteCopy()
80 for(i=0; i<pTab->nCol; i++){ in sqliteCopy()
H A Dauth.c134 assert( pExpr->iColumn<pTab->nCol ); in sqliteAuthRead()
137 assert( pTab->iPKey<pTab->nCol ); in sqliteAuthRead()
H A Dwhere.c1031 int nCol = nEqColumn + (score & 1); in sqliteWhereBegin() local
1033 sqliteVdbeAddOp(v, OP_NotNull, -nCol, sqliteVdbeCurrentAddr(v)+3); in sqliteWhereBegin()
1034 sqliteVdbeAddOp(v, OP_Pop, nCol, 0); in sqliteWhereBegin()
1036 sqliteVdbeAddOp(v, OP_MakeKey, nCol, 0); in sqliteWhereBegin()
1088 int nCol = nEqColumn + ((score&2)!=0); in sqliteWhereBegin() local
1089 sqliteVdbeAddOp(v, OP_NotNull, -nCol, sqliteVdbeCurrentAddr(v)+3); in sqliteWhereBegin()
1090 sqliteVdbeAddOp(v, OP_Pop, nCol, 0); in sqliteWhereBegin()
1092 sqliteVdbeAddOp(v, OP_MakeKey, nCol, 0); in sqliteWhereBegin()
H A Dpragma.c381 for(i=0; i<pTab->nCol; i++){ in sqlitePragma()
412 assert( pTab->nCol>cnum ); in sqlitePragma()
468 for(j=0; j<pFK->nCol; j++){ in sqlitePragma()
H A Dselect.c141 for(i=0; i<pTab->nCol; i++){ in columnIndex()
230 for(j=0; j<pTab->nCol; j++){ in sqliteProcessJoin()
677 assert( iCol==-1 || (iCol>=0 && iCol<pTab->nCol) ); in generateColumnTypes()
732 assert( iCol==-1 || (iCol>=0 && iCol<pTab->nCol) ); in generateColumnNames()
802 pTab->nCol = pEList->nExpr; in sqliteResultSetOfSelect()
803 assert( pTab->nCol>0 ); in sqliteResultSetOfSelect()
804 pTab->aCol = aCol = sqliteMalloc( sizeof(pTab->aCol[0])*pTab->nCol ); in sqliteResultSetOfSelect()
805 for(i=0; i<pTab->nCol; i++){ in sqliteResultSetOfSelect()
979 for(j=0; j<pTab->nCol; j++){ in fillInColumnList()
H A DsqliteInt.h498 int nCol; /* Number of columns in this table */ member
543 int nCol; /* Number of columns in this key */ member
H A Dexpr.c454 assert( pTab->nCol>0 ); in lookupName()
471 for(j=0, pCol=pTab->aCol; j<pTab->nCol; j++, pCol++){ in lookupName()
506 for(j=0; j < pTab->nCol; j++, pCol++) { in lookupName()
/PHP-5.3/ext/sqlite3/libsqlite/
H A Dsqlite3.c75774 pNew->nCol = pTab->nCol;
78908 p->nCol = pSelTab->nCol;
79152 pTable->nCol = pSelTab->nCol;
79519 int nCol;
79560 pFKey->nCol = nCol;
79757 int nCol;
84188 int nCol = pFKey->nCol;
86181 nCol = pTab->nCol;
86721 if( pDest->nCol!=pSrc->nCol ){
97956 pTab->nCol = pParse->pNewTable->nCol;
[all …]

Completed in 410 milliseconds