Searched refs:nSrc (Results 1 - 14 of 14) sorted by relevance

/osnet-11/usr/src/lib/libsqlite/src/
H A Dauth.c120 for(iSrc=0; iSrc<pTabList->nSrc; iSrc++){
123 if( iSrc>=0 && iSrc<pTabList->nSrc ){
H A Dexpr.c188 nByte = sizeof(*p) + (p->nSrc>0 ? sizeof(p->a[0]) * (p->nSrc-1) : 0);
191 pNew->nSrc = pNew->nAlloc = p->nSrc;
192 for(i=0; i<p->nSrc; i++){
451 for(i=0; i<pSrcList->nSrc; i++){
641 for(i=0; i<pSrcList->nSrc; i++){
H A Ddelete.c30 for(i=0; i<pSrc->nSrc; i++){
87 assert( pTabList->nSrc==1 );
125 assert( pTabList->nSrc==1 );
H A Dcopy.c49 assert( pTableName->nSrc==1 );
H A Dbuild.c1506 assert( pTable->nSrc==1 );
1766 assert( pName->nSrc==1 );
1905 if( pList->nSrc>=pList->nAlloc ){
1916 memset(&pList->a[pList->nSrc], 0, sizeof(pList->a[0]));
1926 char **pz = &pList->a[pList->nSrc].zName;
1936 char **pz = &pList->a[pList->nSrc].zDatabase;
1945 pList->a[pList->nSrc].iCursor = -1;
1946 pList->nSrc++;
1955 for(i=0; i<pList->nSrc; i++){
1966 if( pList && pList->nSrc>
[all...]
H A Dwhere.c406 assert( pushKey==0 || pTabList->nSrc==1 );
425 pWInfo = sqliteMalloc( sizeof(WhereInfo) + pTabList->nSrc*sizeof(WhereLevel));
438 if( pWhere && (pTabList->nSrc==0 || sqliteExprIsConstant(pWhere)) ){
470 ** loop where i==0 is the outer loop and i==pTabList->nSrc-1 is the inner
485 for(i=0; i<pTabList->nSrc && i<ARRAYSIZE(iDirectEq); i++){
667 if( ppOrderBy && *ppOrderBy && pTabList->nSrc>0 ){
704 for(i=0; i<pTabList->nSrc; i++){
723 for(i=0; i<pTabList->nSrc; i++){
862 if( i==pTabList->nSrc-1 && pushKey ){
1125 if( i==pTabList->nSrc
[all...]
H A Dselect.c214 for(i=0; i<pSrc->nSrc-1; i++){
269 assert( i<pSrc->nSrc-1 );
674 for(j=0; j<pTabList->nSrc && pTabList->a[j].iCursor!=p->iTable; j++){}
675 assert( j<pTabList->nSrc );
729 for(j=0; j<pTabList->nSrc && pTabList->a[j].iCursor!=p->iTable; j++){}
730 assert( j<pTabList->nSrc );
742 }else if( fullNames || (!shortNames && pTabList->nSrc>1) ){
871 for(i=0; i<pTabList->nSrc; i++){
969 for(i=0; i<pTabList->nSrc; i++){
1000 if( zTabName && pTabList->nSrc>
[all...]
H A Dparse.y368 if( A && A->nSrc>0 ) A->a[A->nSrc-1].jointype = Y;
375 if( A && A->nSrc>1 ){ A->a[A->nSrc-2].pOn = N; }
379 if( A && A->nSrc>1 ){ A->a[A->nSrc-2].pUsing = U; }
386 A->a[A->nSrc-1].pSelect = S;
389 if( A && A->nSrc>1 ){ A->a[A->nSrc-2].pOn = N; }
393 if( A && A->nSrc>
[all...]
H A Dtrigger.c70 assert( pTableName->nSrc==1 );
400 assert( pName->nSrc==1 );
728 dummyTablist.nSrc = 0;
H A Dattach.c230 for(i=0; i<pList->nSrc; i++){
H A Dupdate.c69 assert( pTabList->nSrc==1 );
H A Dinsert.c127 assert( pTabList->nSrc==1 );
248 dummy.nSrc = 0;
H A Dprintf.c584 assert( k>=0 && k<pSrc->nSrc );
H A DsqliteInt.h772 i16 nSrc; /* Number of tables or subqueries in the FROM clause */ member in struct:SrcList

Completed in 114 milliseconds