aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-12-10 20:31:25 +0000
committerdrh <drh@noemail.net>2020-12-10 20:31:25 +0000
commitdaf2761c62103f7bf126f8029dcf5fb473216f5f (patch)
treedd5712fa50c7b2fd530d28b1a5a3db2e0ac74734 /src/sqliteInt.h
parent91f2717f22e5a7c3feab8224a16416677ad28e47 (diff)
downloadsqlite-daf2761c62103f7bf126f8029dcf5fb473216f5f.tar.gz
sqlite-daf2761c62103f7bf126f8029dcf5fb473216f5f.zip
Use an iterator for the index loop in sqlite3GenerateConstraintChecks().
The idea is that this iterator can be enhanced to traverse the indexes in any order, as required by multi-index UPSERT. FossilOrigin-Name: 64a4a91ecc5dcde3fa07d3cf038c74b9ede63d36628ecfb35203a9dfbbfe113c
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 23df9cc71..83993f08c 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -3080,7 +3080,7 @@ struct Upsert {
Upsert *pNextUpsert; /* Next ON CONFLICT clause in the list */
/* Above this point is the parse tree for the ON CONFLICT clauses.
** The next group of fields stores intermediate data. */
- Index *pIdxList;
+ void *pToFree; /* Free memory when deleting the Upsert object */
/* All fields above are owned by the Upsert object and must be freed
** when the Upsert is destroyed. The fields below are used to transfer
** information from the INSERT processing down into the UPDATE processing