Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
upsert.c
b204b6a
Give unique names to fields in the SrcItem object, to facilitate analysis of
by drh
· 11 months ago
926fb60
Silently ignore redundant ON CONFLICT clauses in an UPSERT. Only the first
by drh
· 1 year, 4 months ago
2e0ce58
Do not allow bound parameters in the ON CONFLICT clause of an UPSERT.
by drh
· 1 year, 11 months ago
4bc1cc1
This experimental branch attempts to use columns for an index-on-expression
by drh
· 2 years, 9 months ago
cf9d36d
Refactor field names in the Column object, zCnName and zCnColl, to make them
by drh
· 4 years ago
1c19848
Minor changes for test coverage.
by drh
· 4 years, 7 months ago
generalized-upsert
255c1c1
New test cases with corresponding bug fixes.
by drh
· 4 years, 7 months ago
61e280a
Logic is in place to handle multiple ON CONFLICT clauses, but it does not work.
by drh
· 4 years, 7 months ago
daf2761
Use an iterator for the index loop in sqlite3GenerateConstraintChecks().
by drh
· 4 years, 7 months ago
91f2717
The DO UPDATE code generator searches for the correct ON CONFLICT clause to use.
by drh
· 4 years, 7 months ago
e84ad92
For upsert, the constraint check code generator uses a copy of the index list
by drh
· 4 years, 7 months ago
generalized-upsert-ex1
2549e4c
Enhance UPSERT parsing to allow multiple ON CONFLICT clauses. Only the
by drh
· 4 years, 7 months ago
fe2a3f1
If an UPSERT can cause an Abort due to a constraint failure, make sure
by drh
· 6 years ago
b9bcf7c
Refactor names of column index transformation functions, for clarity.
by drh
· 6 years ago
a7ce167
Make sure OP_RealAffinity has been applied to all columns of type REAL
by drh
· 6 years ago
c4ceea7
Fix various harmless warnings generated by static analysis tools.
by drh
· 7 years ago
4031baf
When compiling with SQLITE_DEBUG, add run-time checks to ensure that no
by drh
· 7 years ago
9cadb23
Fix a VDBE comment on upsert. Provide an error message when upsert detects
by drh
· 7 years ago
023e897
Improved VDBE comment on UPSERT code.
by drh
· 7 years ago
upsert-opt2
fb2213e
Avoid unnecessary cursor seeks during upsert processing.
by drh
· 7 years ago
7fc3aba
Enhance UPSERT so that the UPDATE uses the same set of cursors as the INSERT.
by drh
· 7 years ago
2633b28
Minor simplification to the upsert logic.
by drh
· 7 years ago
277434e
Improved matching of COLLATE clauses within the ON CONFLICT conflict-target.
by drh
· 7 years ago
54514c9
Remove unreachable branches. 100% MC/DC in TH3 now.
by drh
· 7 years ago
2cc0042
Add some more simple test cases for UPSERT. And a minor fix.
by dan
· 7 years ago
eac9fab
Add support for the "excluded.*" names in the UPDATE clause of an upsert.
by drh
· 7 years ago
e966a36
Get upsert working on WITHOUT ROWID tables.
by drh
· 7 years ago
0b30a11
First cut at logic to perform DO UPDATE for rowid tables.
by drh
· 7 years ago
9eddaca
Add infrastructure for doing an UPDATE as part of an UPSERT. Still no actual
by drh
· 7 years ago
d5af542
Get the conflict-target clause parsing working correctly, with test
by drh
· 7 years ago
3b45d8b
Improved conflict-target matching logic.
by drh
· 7 years ago
e9c2e77
Back off of the extended upsert syntax that allows multiple ON CONFLICT
by drh
· 7 years ago
788d55a
Begin adding upsert logic. This is an incremental check-in.
by drh
· 7 years ago
fcfd756
Break out the upsert code into a separate source file.
by drh
· 7 years ago