Searched refs:nColumn (Results 1 – 9 of 9) sorted by relevance
| /illumos-gate/usr/src/lib/libsqlite/src/ |
| H A D | insert.c | 100 int nColumn; /* Number of columns in the data */ in sqliteInsert() local 189 nColumn = pSelect->pEList->nExpr; in sqliteInsert() 218 sqliteVdbeAddOp(v, OP_MakeRecord, nColumn, 0); in sqliteInsert() 244 nColumn = pList->nExpr; in sqliteInsert() 246 for(i=0; i<nColumn; i++){ in sqliteInsert() 259 if( pColumn==0 && nColumn!=pTab->nCol ){ in sqliteInsert() 262 pTabList, 0, pTab->nCol, nColumn); in sqliteInsert() 265 if( pColumn!=0 && nColumn!=pColumn->nId ){ in sqliteInsert() 266 sqliteErrorMsg(pParse, "%d values for %d columns", nColumn, pColumn->nId); in sqliteInsert() 367 sqliteVdbeAddOp(v, OP_Dup, nColumn - keyColumn - 1, 1); in sqliteInsert() [all …]
|
| H A D | table.c | 33 int nColumn; member 72 p->nColumn = nCol; in sqlite_get_table_cb() 86 }else if( p->nColumn!=nCol ){ in sqlite_get_table_cb() 142 res.nColumn = 0; in sqlite_get_table() 184 if( pnColumn ) *pnColumn = res.nColumn; in sqlite_get_table()
|
| H A D | where.c | 254 if( pIdx->nColumn < nEqCol || pIdx->nColumn < nExpr ) continue; in findSortingIndex() 564 if( pIdx->nColumn>32 ) continue; /* Ignore indices too many columns */ in sqliteWhereBegin() 570 for(k=0; k<pIdx->nColumn; k++){ in sqliteWhereBegin() 605 for(k=0; k<pIdx->nColumn; k++){ in sqliteWhereBegin() 637 for(nEq=0; nEq<pIdx->nColumn; nEq++){ in sqliteWhereBegin() 782 int nColumn = (pLevel->score+4)/8; in sqliteWhereBegin() local 784 for(j=0; j<nColumn; j++){ in sqliteWhereBegin() 797 if( pX->op==TK_IN && nColumn==1 ){ in sqliteWhereBegin() 828 sqliteVdbeAddOp(v, OP_NotNull, -nColumn, sqliteVdbeCurrentAddr(v)+3); in sqliteWhereBegin() 829 sqliteVdbeAddOp(v, OP_Pop, nColumn, 0); in sqliteWhereBegin() [all …]
|
| H A D | select.c | 355 int nColumn = pEList->nExpr; in sqliteAddKeyType() local 356 char *zType = sqliteMalloc( nColumn+1 ); in sqliteAddKeyType() 359 for(i=0; i<nColumn; i++){ in sqliteAddKeyType() 404 int nColumn, /* Number of columns in the source table */ in selectInnerLoop() argument 429 if( nColumn>0 ){ in selectInnerLoop() 430 for(i=0; i<nColumn; i++){ in selectInnerLoop() 434 nColumn = pEList->nExpr; in selectInnerLoop() 456 codeLimiter(v, p, iContinue, iBreak, nColumn); in selectInnerLoop() 465 sqliteVdbeAddOp(v, OP_MakeRecord, nColumn, NULL_ALWAYS_DISTINCT); in selectInnerLoop() 475 sqliteVdbeAddOp(v, OP_MakeRecord, nColumn, 0); in selectInnerLoop() [all …]
|
| H A D | update.c | 165 for(i=0; i<pIdx->nColumn; i++){ in sqliteUpdate() 169 if( i<pIdx->nColumn ) nIdx++; in sqliteUpdate() 180 for(i=0; i<pIdx->nColumn; i++){ in sqliteUpdate() 184 if( i<pIdx->nColumn ){ in sqliteUpdate()
|
| H A D | delete.c | 381 for(j=0; j<pIdx->nColumn; j++){ in sqliteGenerateRowIndexDelete() 389 sqliteVdbeAddOp(v, OP_MakeIdxKey, pIdx->nColumn, 0); in sqliteGenerateRowIndexDelete()
|
| H A D | pragma.c | 408 for(i=0; i<pIdx->nColumn; i++){ in sqlitePragma() 661 for(k=0; k<pIdx->nColumn; k++){ in sqlitePragma() 669 sqliteVdbeAddOp(v, OP_MakeIdxKey, pIdx->nColumn, 0); in sqlitePragma()
|
| H A D | build.c | 1314 n = pIdx->nColumn; in sqliteAddIdxKeyType() 1602 pIndex->nColumn = pList->nId; in sqliteCreateIndex() 1719 for(i=0; i<pIndex->nColumn; i++){ in sqliteCreateIndex() 1727 sqliteVdbeAddOp(v, OP_MakeIdxKey, pIndex->nColumn, 0); in sqliteCreateIndex()
|
| H A D | sqliteInt.h | 621 int nColumn; /* Number of columns in the table used by this index */ member
|