aboutsummaryrefslogtreecommitdiff
path: root/src/wherecode.c
diff options
context:
space:
mode:
authordrh <>2021-03-20 15:46:01 +0000
committerdrh <>2021-03-20 15:46:01 +0000
commit2f2091b10e28fc76a9c30e084a4eb2c466a75674 (patch)
treee20873f113d38b088fc5ee2350472edd196c2186 /src/wherecode.c
parent8210233c7b963c391ce5f7d636ef453d5ab78bd9 (diff)
downloadsqlite-2f2091b10e28fc76a9c30e084a4eb2c466a75674.tar.gz
sqlite-2f2091b10e28fc76a9c30e084a4eb2c466a75674.zip
Use the canonical name, not the AS name, when showing the MATERIALIZE or
CO-ROUTINE lines for a CTE. FossilOrigin-Name: 1b83e232c490fe6e9f999d30399faebfac6094bf940dc21dc459ed2c97657cb2
Diffstat (limited to 'src/wherecode.c')
-rw-r--r--src/wherecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wherecode.c b/src/wherecode.c
index 195c08de3..771a50fc7 100644
--- a/src/wherecode.c
+++ b/src/wherecode.c
@@ -149,7 +149,7 @@ int sqlite3WhereExplainOneScan(
sqlite3StrAccumInit(&str, db, zBuf, sizeof(zBuf), SQLITE_MAX_LENGTH);
str.printfFlags = SQLITE_PRINTF_INTERNAL;
- sqlite3_str_appendf(&str, "%s %!S", isSearch ? "SEARCH" : "SCAN", pItem);
+ sqlite3_str_appendf(&str, "%s %S", isSearch ? "SEARCH" : "SCAN", pItem);
if( (flags & (WHERE_IPK|WHERE_VIRTUALTABLE))==0 ){
const char *zFmt = 0;
Index *pIdx;