diff options
author | drh <> | 2024-04-24 11:51:51 +0000 |
---|---|---|
committer | drh <> | 2024-04-24 11:51:51 +0000 |
commit | 35b771e221a5e70d7dc758d6a797c63e80a98fb0 (patch) | |
tree | 0dccb90799e17263e2b4d06d46931ce122d18eac /src/resolve.c | |
parent | 5b27ecafbcf2dbdb7b407f8cf89703a463fb1da7 (diff) | |
download | sqlite-35b771e221a5e70d7dc758d6a797c63e80a98fb0.tar.gz sqlite-35b771e221a5e70d7dc758d6a797c63e80a98fb0.zip |
Add comments linking the assert() added in [cef4d9e3ba586735] to the places
where the precondition that the assert() tests are actually required.
FossilOrigin-Name: 6f0e7e195275aeb4aefd9da20348af35e3ef7f0a6b2768a34824daeace16eff1
Diffstat (limited to 'src/resolve.c')
-rw-r--r-- | src/resolve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve.c b/src/resolve.c index 81f3d9947..6a1d82606 100644 --- a/src/resolve.c +++ b/src/resolve.c @@ -1889,7 +1889,7 @@ static int resolveSelectStep(Walker *pWalker, Select *p){ if( pOuterNC ) pOuterNC->nNestedSelect++; for(i=0; i<p->pSrc->nSrc; i++){ SrcItem *pItem = &p->pSrc->a[i]; - assert( pItem->zName!=0 || pItem->pSelect!=0 ); + assert( pItem->zName!=0 || pItem->pSelect!=0 );/* Test of tag-20240424-1*/ if( pItem->pSelect && (pItem->pSelect->selFlags & SF_Resolved)==0 ){ int nRef = pOuterNC ? pOuterNC->nRef : 0; const char *zSavedContext = pParse->zAuthContext; |