Lines Matching refs:eDest
16734 #define IgnorableOrderby(X) ((X->eDest)<=SRT_DistQueue)
16748 u8 eDest; /* How to dispose of the results. On of SRT_* above. */ member
95436 dest.eDest = SRT_Mem;
95442 dest.eDest = SRT_Exists;
118773 SQLITE_PRIVATE void sqlite3SelectDestInit(SelectDest *pDest, int eDest, int iParm){
118774 pDest->eDest = (u8)eDest;
119367 int eDest = pDest->eDest; /* How to dispose of results */
119416 }else if( eDest!=SRT_Exists ){
119421 if( eDest==SRT_Mem || eDest==SRT_Output || eDest==SRT_Coroutine ){
119426 if( pSort && hasDistinct==0 && eDest!=SRT_EphemTab && eDest!=SRT_Table ){
119441 assert( eDest==SRT_Set || eDest==SRT_Mem
119442 || eDest==SRT_Coroutine || eDest==SRT_Output );
119510 switch( eDest ){
119541 testcase( eDest==SRT_Table );
119542 testcase( eDest==SRT_EphemTab );
119543 testcase( eDest==SRT_Fifo );
119544 testcase( eDest==SRT_DistFifo );
119547 if( eDest==SRT_DistFifo ){
119626 testcase( eDest==SRT_Coroutine );
119627 testcase( eDest==SRT_Output );
119631 }else if( eDest==SRT_Coroutine ){
119659 if( eDest==SRT_DistQueue ){
119668 if( eDest==SRT_DistQueue ){
119696 assert( eDest==SRT_Discard );
119907 int eDest = pDest->eDest;
119926 if( eDest==SRT_Output || eDest==SRT_Coroutine || eDest==SRT_Mem ){
119965 switch( eDest ){
119988 assert( eDest==SRT_Output || eDest==SRT_Coroutine );
119989 testcase( eDest==SRT_Output );
119990 testcase( eDest==SRT_Coroutine );
119991 if( eDest==SRT_Output ){
120001 if( eDest==SRT_Set ){
120744 int eDest = SRT_Fifo; /* How to write to Queue */
120779 eDest = pOrderBy ? SRT_DistQueue : SRT_DistFifo;
120782 eDest = pOrderBy ? SRT_Queue : SRT_Fifo;
120784 sqlite3SelectDestInit(&destQueue, eDest, iQueue);
120980 if( dest.eDest==SRT_EphemTab ){
120983 dest.eDest = SRT_Table;
121067 if( dest.eDest==priorOp ){
121107 uniondest.eDest = op;
121128 assert( unionTab==dest.iSDParm || dest.eDest!=priorOp );
121129 if( dest.eDest!=priorOp ){
121344 assert( pDest->eDest!=SRT_Exists );
121345 assert( pDest->eDest!=SRT_Table );
121346 switch( pDest->eDest ){
121411 assert( pDest->eDest==SRT_Output );
123835 assert( p->pOrderBy==0 || pDest->eDest!=SRT_DistFifo );
123836 assert( p->pOrderBy==0 || pDest->eDest!=SRT_Fifo );
123837 assert( p->pOrderBy==0 || pDest->eDest!=SRT_DistQueue );
123838 assert( p->pOrderBy==0 || pDest->eDest!=SRT_Queue );
123840 assert(pDest->eDest==SRT_Exists || pDest->eDest==SRT_Union ||
123841 pDest->eDest==SRT_Except || pDest->eDest==SRT_Discard ||
123842 pDest->eDest==SRT_Queue || pDest->eDest==SRT_DistFifo ||
123843 pDest->eDest==SRT_DistQueue || pDest->eDest==SRT_Fifo);
123870 if( pDest->eDest==SRT_Output ){
124196 if( pDest->eDest==SRT_EphemTab ){