1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-12 13:01:09 +03:00

Add some missing testcase() macros to the pushDownWhereTerms() routine.

FossilOrigin-Name: 67d7f79c5e5be41a18817c802b5c4d349e3a83a4
This commit is contained in:
drh
2016-04-14 15:38:33 +00:00
parent f1b5ff73cb
commit 7111c93c40
3 changed files with 9 additions and 7 deletions

View File

@@ -3787,6 +3787,8 @@ static int pushDownWhereTerms(
int nChng = 0;
if( pWhere==0 ) return 0;
if( (pSubq->selFlags & (SF_Aggregate|SF_Recursive))!=0 ){
testcase( pSubq->selFlags & SF_Aggregate );
testcase( pSubq->selFlags & SF_Recursive );
return 0; /* restrictions (1) and (2) */
}
if( pSubq->pLimit!=0 ){