SQLITE_ENABLE_COMMENTS -> SQLITE_ENABLE_EXPLAIN_COMMENTS in src/vdbe.h
(1) By Dominique Pelle (dpelle) on 2025-03-14 12:26:29 [source]
Hi
I see SQLITE_ENABLE_COMMENTS
in comments of src/vdbe.h
.
I assume should instead be SQLITE_ENABLE_EXPLAIN_COMMENTS
.
In other words, this patch should fix it:
$ fossil diff
Index: src/vdbe.h
==================================================================
--- src/vdbe.h
+++ src/vdbe.h
@@ -317,11 +317,11 @@
int sqlite3NotPureFunc(sqlite3_context*);
#ifdef SQLITE_ENABLE_BYTECODE_VTAB
int sqlite3VdbeBytecodeVtabInit(sqlite3*);
#endif
-/* Use SQLITE_ENABLE_COMMENTS to enable generation of extra comments on
+/* Use SQLITE_ENABLE_EXPLAIN_COMMENTS to enable generation of extra comments on
** each VDBE opcode.
**
** Use the SQLITE_ENABLE_MODULE_COMMENTS macro to see some extra no-op
** comments in VDBE programs that show key decision points in the code
** generator.
(2) By Stephan Beal (stephan) on 2025-03-14 12:38:23 in reply to 1 [link] [source]
I assume should instead be SQLITE_ENABLE_EXPLAIN_COMMENTS.
That's fixed now. Thank you for the report!