Searched refs:nColumn (Results 1 - 9 of 9) sorted by relevance

/osnet-11/usr/src/lib/libsqlite/src/
H A Dtable.c36 int nColumn; member in struct:TabResult
75 p->nColumn = nCol;
89 }else if( p->nColumn!=nCol ){
145 res.nColumn = 0;
187 if( pnColumn ) *pnColumn = res.nColumn;
H A Dinsert.c103 int nColumn; /* Number of columns in the data */ local
192 nColumn = pSelect->pEList->nExpr;
221 sqliteVdbeAddOp(v, OP_MakeRecord, nColumn, 0);
247 nColumn = pList->nExpr;
249 for(i=0; i<nColumn; i++){
262 if( pColumn==0 && nColumn!=pTab->nCol ){
265 pTabList, 0, pTab->nCol, nColumn);
268 if( pColumn!=0 && nColumn!=pColumn->nId ){
269 sqliteErrorMsg(pParse, "%d values for %d columns", nColumn, pColumn->nId);
370 sqliteVdbeAddOp(v, OP_Dup, nColumn
[all...]
H A Dwhere.c257 if( pIdx->nColumn < nEqCol || pIdx->nColumn < nExpr ) continue;
567 if( pIdx->nColumn>32 ) continue; /* Ignore indices too many columns */
573 for(k=0; k<pIdx->nColumn; k++){
608 for(k=0; k<pIdx->nColumn; k++){
640 for(nEq=0; nEq<pIdx->nColumn; nEq++){
785 int nColumn = (pLevel->score+4)/8; local
787 for(j=0; j<nColumn; j++){
800 if( pX->op==TK_IN && nColumn==1 ){
831 sqliteVdbeAddOp(v, OP_NotNull, -nColumn, sqliteVdbeCurrentAdd
[all...]
H A Dupdate.c168 for(i=0; i<pIdx->nColumn; i++){
172 if( i<pIdx->nColumn ) nIdx++;
183 for(i=0; i<pIdx->nColumn; i++){
187 if( i<pIdx->nColumn ){
H A Dselect.c357 int nColumn = pEList->nExpr; local
358 char *zType = sqliteMalloc( nColumn+1 );
361 for(i=0; i<nColumn; i++){
396 ** If srcTab and nColumn are both zero, then the pEList expressions
397 ** are evaluated in order to get the data for this row. If nColumn>0
406 int nColumn, /* Number of columns in the source table */
431 if( nColumn>0 ){
432 for(i=0; i<nColumn; i++){
436 nColumn = pEList->nExpr;
458 codeLimiter(v, p, iContinue, iBreak, nColumn);
401 selectInnerLoop( Parse *pParse, Select *p, ExprList *pEList, int srcTab, int nColumn, ExprList *pOrderBy, int distinct, int eDest, int iParm, int iContinue, int iBreak ) argument
583 generateSortTail( Select *p, Vdbe *v, int nColumn, int eDest, int iParm ) argument
[all...]
H A Ddelete.c384 for(j=0; j<pIdx->nColumn; j++){
392 sqliteVdbeAddOp(v, OP_MakeIdxKey, pIdx->nColumn, 0);
H A Dpragma.c411 for(i=0; i<pIdx->nColumn; i++){
664 for(k=0; k<pIdx->nColumn; k++){
672 sqliteVdbeAddOp(v, OP_MakeIdxKey, pIdx->nColumn, 0);
H A DsqliteInt.h609 ** Ex2, nColumn==2 since 2 of the 3 columns of Ex1 are indexed.
624 int nColumn; /* Number of columns in the table used by this index */ member in struct:Index
H A Dbuild.c1317 n = pIdx->nColumn;
1605 pIndex->nColumn = pList->nId;
1722 for(i=0; i<pIndex->nColumn; i++){
1730 sqliteVdbeAddOp(v, OP_MakeIdxKey, pIndex->nColumn, 0);

Completed in 51 milliseconds