diff options
author | dan <Dan Kennedy> | 2024-03-11 17:27:19 +0000 |
---|---|---|
committer | dan <Dan Kennedy> | 2024-03-11 17:27:19 +0000 |
commit | 815e055bff42d57f49cf46cc70771cdcf5930d83 (patch) | |
tree | a23d064d4d7ea012f510076fab54aec6bcb93f6a /src/sqliteInt.h | |
parent | 5dfff386e53a0ec1acd9854f676f9c2dda0cf25e (diff) | |
download | sqlite-815e055bff42d57f49cf46cc70771cdcf5930d83.tar.gz sqlite-815e055bff42d57f49cf46cc70771cdcf5930d83.zip |
Attempt to reduce the memory used by VALUES clauses in as many statements as possible, not just INSERT. This branch still has problems.
FossilOrigin-Name: 17d1f7cfabc7593d0725051b0c7c9619a23a482265f30f15ab9493fef5caeeb0
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index e11b5b3a4..391339271 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -3812,6 +3812,7 @@ struct Parse { u8 disableLookaside; /* Number of times lookaside has been disabled */ u8 prepFlags; /* SQLITE_PREPARE_* flags */ u8 withinRJSubrtn; /* Nesting level for RIGHT JOIN body subroutines */ + u8 bHasWith; /* True if statement contains WITH */ #if defined(SQLITE_DEBUG) || defined(SQLITE_COVERAGE_TEST) u8 earlyCleanup; /* OOM inside sqlite3ParserAddCleanup() */ #endif @@ -4486,6 +4487,9 @@ struct Window { ** due to the SQLITE_SUBTYPE flag */ }; +Select *sqlite3MultiValues(Parse *pParse, Select *pLeft, ExprList *pRow); +void sqlite3MultiValuesEnd(Parse *pParse, Select *pVal); + #ifndef SQLITE_OMIT_WINDOWFUNC void sqlite3WindowDelete(sqlite3*, Window*); void sqlite3WindowUnlinkFromSelect(Window*); |