Searched defs:nCol (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libsqlite/src/
H A Dtable.c46 static int sqlite_get_table_cb(void *pArg, int nCol, char **argv, char **colv){ argument
56 need = nCol*2;
58 need = nCol;
75 p->nColumn = nCol;
76 for(i=0; i<nCol; i++){
89 }else if( p->nColumn!=nCol ){
100 for(i=0; i<nCol; i++){
H A Dinsert.c262 if( pColumn==0 && nColumn!=pTab->nCol ){
265 pTabList, 0, pTab->nCol, nColumn);
289 for(j=0; j<pTab->nCol; j++){
298 if( j>=pTab->nCol ){
381 for(i=0; i<pTab->nCol; i++){
399 sqliteVdbeAddOp(v, OP_MakeRecord, pTab->nCol, 0);
446 for(i=0; i<pTab->nCol; i++){
635 int nCol; local
649 nCol = pTab->nCol;
[all...]
H A Dtclsqlite.c90 int nCol, /* Number of columns in the result */
104 cbData->azColName = malloc( nCol*sizeof(char*) );
106 cbData->nColName = nCol;
107 for(i=0; i<nCol; i++){
118 if( azN[nCol]!=0 ){
124 Tcl_ExternalToUtfDString(NULL, azN[i+nCol], -1, &dCol);
137 for(i=0; i<nCol; i++){
147 for(i=0; i<nCol; i++){
179 int nCol, /* Number of columns in the result */
187 for(i=0; i<nCol;
88 DbEvalCallback( void *clientData, int nCol, char ** azCol, char ** azN ) argument
177 DbEvalCallback( void *clientData, int nCol, char ** azCol, char ** azN ) argument
227 DbEvalCallback2( void *clientData, int nCol, char ** azCol, char ** azN ) argument
260 DbEvalCallback3( void *clientData, int nCol, char ** azCol, char ** azN ) argument
[all...]
H A Dtest1.c210 int nRow, nCol; local
221 rc = sqlite_get_table_printf(db, argv[2], &aResult, &nRow, &nCol,
228 sprintf(zBuf, "%d", nCol);
230 for(i=0; i<(nRow+1)*nCol; i++){
691 static int rememberDataTypes(void *pArg, int nCol, char **argv, char **colv){ argument
695 if( colv[nCol+1]==0 ){
699 for(i=0; i<nCol; i++){
700 pElem = Tcl_NewStringObj(colv[i+nCol] ? colv[i+nCol] : "NULL", -1);
H A Dwhere.c1034 int nCol = nEqColumn + (score & 1); local
1036 sqliteVdbeAddOp(v, OP_NotNull, -nCol, sqliteVdbeCurrentAddr(v)+3);
1037 sqliteVdbeAddOp(v, OP_Pop, nCol, 0);
1039 sqliteVdbeAddOp(v, OP_MakeKey, nCol, 0);
1091 int nCol = nEqColumn + ((score&2)!=0); local
1092 sqliteVdbeAddOp(v, OP_NotNull, -nCol, sqliteVdbeCurrentAddr(v)+3);
1093 sqliteVdbeAddOp(v, OP_Pop, nCol, 0);
1095 sqliteVdbeAddOp(v, OP_MakeKey, nCol, 0);
H A Dbuild.c349 for(i=0; i<pTable->nCol; i++){
521 pTable->nCol = 0;
568 for(i=0; i<p->nCol; i++){
575 if( (p->nCol & 0x7)==0 ){
577 aNew = sqliteRealloc( p->aCol, (p->nCol+8)*sizeof(p->aCol[0]));
581 pCol = &p->aCol[p->nCol];
585 p->nCol++;
598 i = p->nCol-1;
618 i = p->nCol-1;
652 i = p->nCol
1362 int nCol; local
[all...]
H A DsqliteInt.h477 ** Table.nCol is the number of columns in this table. Table.aCol is a
501 int nCol; /* Number of columns in this table */ member in struct:Table
546 int nCol; /* Number of columns in this key */ member in struct:FKey
550 } *aCol; /* One entry for each of nCol column s */
607 ** In the Table structure describing Ex1, nCol==3 because there are

Completed in 86 milliseconds