Searched refs:nColumn (Results 1 – 9 of 9) sorted by relevance
/titanic_50/usr/src/lib/libsqlite/src/ |
H A D | insert.c | 103 int nColumn; /* Number of columns in the data */ in sqliteInsert() local 192 nColumn = pSelect->pEList->nExpr; in sqliteInsert() 221 sqliteVdbeAddOp(v, OP_MakeRecord, nColumn, 0); in sqliteInsert() 247 nColumn = pList->nExpr; in sqliteInsert() 249 for(i=0; i<nColumn; i++){ in sqliteInsert() 262 if( pColumn==0 && nColumn!=pTab->nCol ){ in sqliteInsert() 265 pTabList, 0, pTab->nCol, nColumn); in sqliteInsert() 268 if( pColumn!=0 && nColumn!=pColumn->nId ){ in sqliteInsert() 269 sqliteErrorMsg(pParse, "%d values for %d columns", nColumn, pColumn->nId); in sqliteInsert() 370 sqliteVdbeAddOp(v, OP_Dup, nColumn - keyColumn - 1, 1); in sqliteInsert() [all …]
|
H A D | table.c | 36 int nColumn; member 75 p->nColumn = nCol; in sqlite_get_table_cb() 89 }else if( p->nColumn!=nCol ){ in sqlite_get_table_cb() 145 res.nColumn = 0; in sqlite_get_table() 187 if( pnColumn ) *pnColumn = res.nColumn; in sqlite_get_table()
|
H A D | where.c | 257 if( pIdx->nColumn < nEqCol || pIdx->nColumn < nExpr ) continue; in findSortingIndex() 567 if( pIdx->nColumn>32 ) continue; /* Ignore indices too many columns */ in sqliteWhereBegin() 573 for(k=0; k<pIdx->nColumn; k++){ in sqliteWhereBegin() 608 for(k=0; k<pIdx->nColumn; k++){ in sqliteWhereBegin() 640 for(nEq=0; nEq<pIdx->nColumn; nEq++){ in sqliteWhereBegin() 785 int nColumn = (pLevel->score+4)/8; in sqliteWhereBegin() local 787 for(j=0; j<nColumn; j++){ in sqliteWhereBegin() 800 if( pX->op==TK_IN && nColumn==1 ){ in sqliteWhereBegin() 831 sqliteVdbeAddOp(v, OP_NotNull, -nColumn, sqliteVdbeCurrentAddr(v)+3); in sqliteWhereBegin() 832 sqliteVdbeAddOp(v, OP_Pop, nColumn, 0); in sqliteWhereBegin() [all …]
|
H A D | select.c | 359 int nColumn = pEList->nExpr; in sqliteAddKeyType() local 360 char *zType = sqliteMalloc( nColumn+1 ); in sqliteAddKeyType() 363 for(i=0; i<nColumn; i++){ in sqliteAddKeyType() 408 int nColumn, /* Number of columns in the source table */ in selectInnerLoop() argument 433 if( nColumn>0 ){ in selectInnerLoop() 434 for(i=0; i<nColumn; i++){ in selectInnerLoop() 438 nColumn = pEList->nExpr; in selectInnerLoop() 460 codeLimiter(v, p, iContinue, iBreak, nColumn); in selectInnerLoop() 469 sqliteVdbeAddOp(v, OP_MakeRecord, nColumn, NULL_ALWAYS_DISTINCT); in selectInnerLoop() 479 sqliteVdbeAddOp(v, OP_MakeRecord, nColumn, 0); in selectInnerLoop() [all …]
|
H A D | update.c | 168 for(i=0; i<pIdx->nColumn; i++){ in sqliteUpdate() 172 if( i<pIdx->nColumn ) nIdx++; in sqliteUpdate() 183 for(i=0; i<pIdx->nColumn; i++){ in sqliteUpdate() 187 if( i<pIdx->nColumn ){ in sqliteUpdate()
|
H A D | delete.c | 384 for(j=0; j<pIdx->nColumn; j++){ in sqliteGenerateRowIndexDelete() 392 sqliteVdbeAddOp(v, OP_MakeIdxKey, pIdx->nColumn, 0); in sqliteGenerateRowIndexDelete()
|
H A D | pragma.c | 411 for(i=0; i<pIdx->nColumn; i++){ in sqlitePragma() 664 for(k=0; k<pIdx->nColumn; k++){ in sqlitePragma() 672 sqliteVdbeAddOp(v, OP_MakeIdxKey, pIdx->nColumn, 0); in sqlitePragma()
|
H A D | build.c | 1317 n = pIdx->nColumn; in sqliteAddIdxKeyType() 1605 pIndex->nColumn = pList->nId; in sqliteCreateIndex() 1722 for(i=0; i<pIndex->nColumn; i++){ in sqliteCreateIndex() 1730 sqliteVdbeAddOp(v, OP_MakeIdxKey, pIndex->nColumn, 0); in sqliteCreateIndex()
|
H A D | sqliteInt.h | 624 int nColumn; /* Number of columns in the table used by this index */ member
|