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

Add an assert() as an additional test for fix in check-in [523b42371122d9e1b3].

FossilOrigin-Name: f9e85e6c79162081f8f512d22951931a89d157a32b24afdc48b7eb865379abe7
This commit is contained in:
drh
2019-05-29 18:33:59 +00:00
parent 7cd5e856e5
commit b0968b6b14
3 changed files with 8 additions and 7 deletions

View File

@@ -2540,6 +2540,7 @@ static int multiSelect(
*/
assert( p && p->pPrior ); /* Calling function guarantees this much */
assert( (p->selFlags & SF_Recursive)==0 || p->op==TK_ALL || p->op==TK_UNION );
assert( p->selFlags & SF_Compound );
db = pParse->db;
pPrior = p->pPrior;
dest = *pDest;