aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2024-07-05 09:56:11 +0000
committerdrh <>2024-07-05 09:56:11 +0000
commit635c6b8086834600f93c1002c7a0ffe3c34e9c51 (patch)
tree5474b41da01632b8917a8bc4aed0ecda9a154dd3 /src/sqliteInt.h
parent6357d35da9860ac5494d4653440fb913bdd66b0c (diff)
parent615fc1f0831c2910aac4c943d0dc33e8ed108c6b (diff)
downloadsqlite-635c6b8086834600f93c1002c7a0ffe3c34e9c51.tar.gz
sqlite-635c6b8086834600f93c1002c7a0ffe3c34e9c51.zip
Improved reuse of subqueries associated with IN operators, especially when
the IN operator is duplicated due to predicate push-down. FossilOrigin-Name: c9a3498113074bbcd9a8c8d30286fef6c6a49ad2c84b90ec0f5a148389d6245c
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index df6774aef..323a257f6 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3834,6 +3834,7 @@ struct Parse {
u8 prepFlags; /* SQLITE_PREPARE_* flags */
u8 withinRJSubrtn; /* Nesting level for RIGHT JOIN body subroutines */
u8 bHasWith; /* True if statement contains WITH */
+ u8 bHasSubrtn; /* True if any P4_SUBRTNSIG has been set */
#if defined(SQLITE_DEBUG) || defined(SQLITE_COVERAGE_TEST)
u8 earlyCleanup; /* OOM inside sqlite3ParserAddCleanup() */
#endif