aboutsummaryrefslogtreecommitdiff
path: root/src/printf.c
diff options
context:
space:
mode:
authordrh <>2024-04-24 11:51:51 +0000
committerdrh <>2024-04-24 11:51:51 +0000
commit35b771e221a5e70d7dc758d6a797c63e80a98fb0 (patch)
tree0dccb90799e17263e2b4d06d46931ce122d18eac /src/printf.c
parent5b27ecafbcf2dbdb7b407f8cf89703a463fb1da7 (diff)
downloadsqlite-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/printf.c')
-rw-r--r--src/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/printf.c b/src/printf.c
index eb22ee320..c0dcc5d0f 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -857,7 +857,7 @@ void sqlite3_str_vappendf(
sqlite3_str_appendall(pAccum, pItem->zAlias);
}else{
Select *pSel = pItem->pSelect;
- assert( pSel!=0 );
+ assert( pSel!=0 ); /* Because of tag-20240424-1 */
if( pSel->selFlags & SF_NestedFrom ){
sqlite3_str_appendf(pAccum, "(join-%u)", pSel->selId);
}else if( pSel->selFlags & SF_MultiValue ){