summaryrefslogtreecommitdiff
path: root/src/upsert.c
AgeCommit message (Expand)AuthorLines
5 daysFix issues on UPSERT with a UNIQUE index with duplicate columns.drh-3/+19
2026-06-15Fix a problem sometimes causing an UPSERT to incorrectly convert an excluded....dan-1/+2
2024-08-17Give unique names to fields in the SrcItem object, to facilitate analysis ofdrh-2/+2
2024-03-08Silently ignore redundant ON CONFLICT clauses in an UPSERT. Only the firstdrh-4/+17
2023-08-17Do not allow bound parameters in the ON CONFLICT clause of an UPSERT.drh-1/+1
2022-10-13This experimental branch attempts to use columns for an index-on-expressiondrh-0/+1
2021-08-02Refactor field names in the Column object, zCnName and zCnColl, to make themdrh-1/+1
2020-12-14Minor changes for test coverage.drh-1/+1
2020-12-12New test cases with corresponding bug fixes.drh-11/+3
2020-12-11Logic is in place to handle multiple ON CONFLICT clauses, but it does not work.drh-8/+33
2020-12-10Use an iterator for the index loop in sqlite3GenerateConstraintChecks().drh-1/+1
2020-12-10The DO UPDATE code generator searches for the correct ON CONFLICT clause todrh-5/+21
2020-12-09For upsert, the constraint check code generator uses a copy of the index listdrh-2/+2
2020-12-08Enhance UPSERT parsing to allow multiple ON CONFLICT clauses. Only thedrh-77/+100
2019-12-26If an UPSERT can cause an Abort due to a constraint failure, make suredrh-0/+1
2019-10-19Refactor names of column index transformation functions, for clarity.drh-1/+1
2019-08-30Make sure OP_RealAffinity has been applied to all columns of type REALdrh-1/+7
2018-08-21Fix various harmless warnings generated by static analysis tools.drh-1/+3
2018-05-28When compiling with SQLITE_DEBUG, add run-time checks to ensure that nodrh-0/+1
2018-04-20Fix a VDBE comment on upsert. Provide an error message when upsert detectsdrh-2/+4
2018-04-20Improved VDBE comment on UPSERT code.drh-0/+1
2018-04-20Avoid unnecessary cursor seeks during upsert processing.drh-44/+25
2018-04-20Enhance UPSERT so that the UPDATE uses the same set of cursors as the INSERT.drh-7/+2
2018-04-19Minor simplification to the upsert logic.drh-2/+4
2018-04-18Improved matching of COLLATE clauses within the ON CONFLICT conflict-target.drh-1/+6
2018-04-17Remove unreachable branches. 100% MC/DC in TH3 now.drh-1/+1
2018-04-17Add some more simple test cases for UPSERT. And a minor fix.dan-5/+10
2018-04-16Add support for the "excluded.*" names in the UPDATE clause of an upsert.drh-1/+1
2018-04-14Get upsert working on WITHOUT ROWID tables.drh-5/+28
2018-04-13First cut at logic to perform DO UPDATE for rowid tables.drh-1/+36
2018-04-13Add infrastructure for doing an UPDATE as part of an UPSERT. Still no actualdrh-0/+17
2018-04-13Get the conflict-target clause parsing working correctly, with testdrh-11/+11
2018-04-13Improved conflict-target matching logic.drh-14/+34
2018-04-13Back off of the extended upsert syntax that allows multiple ON CONFLICTdrh-41/+74
2018-04-13Begin adding upsert logic. This is an incremental check-in.drh-0/+58
2018-04-12Break out the upsert code into a separate source file.drh-0/+72