aboutsummaryrefslogtreecommitdiff
path: root/src/printf.c
diff options
context:
space:
mode:
authordrh <>2024-08-17 23:23:23 +0000
committerdrh <>2024-08-17 23:23:23 +0000
commitb204b6aa7bd94252c8043f53701f314ee433bafd (patch)
treef04c3e135374b5327a0efcc17ceca3e0466131a9 /src/printf.c
parent8797bd695f97db094bf10e546170d7b1e266867c (diff)
downloadsqlite-b204b6aa7bd94252c8043f53701f314ee433bafd.tar.gz
sqlite-b204b6aa7bd94252c8043f53701f314ee433bafd.zip
Give unique names to fields in the SrcItem object, to facilitate analysis of
how those fields are used using "grep". FossilOrigin-Name: 9f5aeef3cbc2c95267c8f7bf60d5c66971a76789669fb0e8f853273ff6f616f2
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 12dd91a78..027905d26 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -856,7 +856,7 @@ void sqlite3_str_vappendf(
}else if( pItem->zAlias ){
sqlite3_str_appendall(pAccum, pItem->zAlias);
}else{
- Select *pSel = pItem->pSelect;
+ Select *pSel = pItem->sq.pSelect;
assert( pSel!=0 ); /* Because of tag-20240424-1 */
if( pSel->selFlags & SF_NestedFrom ){
sqlite3_str_appendf(pAccum, "(join-%u)", pSel->selId);