Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
insert.c
bcf25e7
Enforce judgmental typing on STORED generated columns for STRICT
by drh
· 4 weeks ago
8a6f89c
Remove unnecessary "www." prefixes on domain names in URLs.
by drh
· 3 months ago
ce25007
Detect when a UNIQUE or PRIMARY KEY on a WITHOUT ROWID table would need
by drh
· 5 months ago
9d90a3a
Use the sqlite3ColumnIndex() routine to look up a column in a table, rather
by drh
· 5 months ago
65552a7
Fix a harmless typo in a comment.
by drh
· 5 months ago
8b62a82
Simplifh the IdList object to remove unnecessary fields. Performance
by drh
· 6 months ago
44980e8
Use hashing to accelerate column matching on INSERT statements. Code is
by drh
· 6 months ago
692c160
Tighter checking of access constraints on union members in SrcItem.
by drh
· 11 months ago
ff4ad29
Memory issues fixes so that mdevtest now passes.
by drh
· 11 months ago
1521ca4
Refactor the SrcItem object so that information about subqueries is stored
by drh
· 11 months ago
b204b6a
Give unique names to fields in the SrcItem object, to facilitate analysis of
by drh
· 11 months ago
1193e46
Do not let the number of terms on a VALUES clause be limited by
by drh
· 12 months ago
d21d5b2
The read-only CHECK-constraint optimization of [34ddf02d3d21151b] inhibits the
by drh
· 1 year, 3 months ago
a509a90
The RAISE() operator is not a constant expression and cannot participate in
by drh
· 1 year, 4 months ago
2ad2584
Fix harmless compiler (scan-build) warnings.
by drh
· 1 year, 4 months ago
exp-values-clause2
c195e23
Allow the VALUES-as-coroutine optimization to be applied to later rows of
by drh
· 1 year, 4 months ago
ac7c6f5
Add assert() statements to validate access to the SrcItem.u1.nRow union member.
by drh
· 1 year, 4 months ago
27a5ee8
Improvements to EXPLAIN QUERY PLAN output for multi-row VALUES claues.
by drh
· 1 year, 4 months ago
75924d3
Ensure the database schema has been loaded and the database encoding gleaned before beginning to code a multi-row VALUES clause.
by dan
· 1 year, 4 months ago
e4a1b4d
Add an ALWAYS on an unreachable branch.
by drh
· 1 year, 4 months ago
f696591
Enhance the sqlite3ExprIsConstant() function so that it recognizes
by drh
· 1 year, 4 months ago
26a3ef7
Fix a problem with ALTER TABLE and correlated multi-row VALUES clauses.
by dan
· 1 year, 4 months ago
400992b
Fix a problem handling "INSERT INTO ... SELECT ... UNION VALUES(...), (...)" and similar statements.
by dan
· 1 year, 4 months ago
f0f4323
Avoid some OP_SCopy instructions in "INSERT INTO .. VALUES" statements that insert more than one row in cases where the VALUES clause contains a value for all columns of the table.
by dan
· 1 year, 4 months ago
56be6f6
Change the way parse.y handles multi-row VALUES clauses to save a few cycles.
by dan
· 1 year, 4 months ago
aa2e244
Remove unreachable code from this branch.
by dan
· 1 year, 4 months ago
35057fb
Fix some OOM handling problems on this branch.
by dan
· 1 year, 4 months ago
e116fa1
Ensure that if a multi-row VALUES cannot be coded while being parsed, the SF_MultiValue flag is correctly set.
by dan
· 1 year, 4 months ago
609aba0
Avoid creating a co-routine incrementally for a VALUES clause that has affinities other than NONE.
by dan
· 1 year, 4 months ago
5badd04
Correctly initialize the SrcItem.iCursor field to -1 when creating a co-routine from a multi-values VALUES clause.
by dan
· 1 year, 4 months ago
815e055
Attempt to reduce the memory used by VALUES clauses in as many statements as possible, not just INSERT. This branch still has problems.
by dan
· 1 year, 4 months ago
926fb60
Silently ignore redundant ON CONFLICT clauses in an UPSERT. Only the first
by drh
· 1 year, 4 months ago
40ee729
Omit unnecessary calls to table locking routines in the common case when
by drh
· 2 years, 1 month ago
56a4107
Address various harmless compiler warnings from
by drh
· 2 years, 1 month ago
bc91738
Add a C-source spell-checking facility. make misspell (on Nix)
by larrybr
· 2 years, 1 month ago
3cbf38c
Fix multiple problems with RETURNING on a DML statement against a view,
by drh
· 2 years, 4 months ago
ca4cf12
Minor performance optimization in the computation of an affinity string
by drh
· 2 years, 5 months ago
85ec20a
Add a testcase() macro to verify that the case of a NOT NULL error message
by drh
· 2 years, 8 months ago
5fdb9a3
Enforce column affinity on the materialization of a subquery or view.
by drh
· 2 years, 9 months ago
4bc1cc1
This experimental branch attempts to use columns for an index-on-expression
by drh
· 2 years, 9 months ago
41ce47c
Add the new internal interface sqlite3DbNNFreeNN(db,ptr) where both the
by drh
· 2 years, 11 months ago
509a630
Performance optimization by only invoking sqlite3FkCheck() when it is actually
by drh
· 3 years ago
2d2e528
In-line a call to sqlite3ExprCode() in insert.c, for a size reduction and
by drh
· 3 years ago
058e995
Small performance increase and size reduction by splitting out the
by drh
· 3 years ago
a99e325
Enhance the IdList object to exist in a single memory allocation (rather than
by drh
· 3 years, 3 months ago
c2d0df9
Improvements to the display of AST for DML statements.
by drh
· 3 years, 3 months ago
2a7dcbf
Attempt to show triggers in the TreeView output from DELETE, INSERT, and
by drh
· 3 years, 4 months ago
5e431be
Rename debugging defines and variables from SELECTTRACE to TREETRACE (and
by drh
· 3 years, 4 months ago
f8ef2db
Add additional tree display routines for DELETE and UPDATE. No changes
by drh
· 3 years, 4 months ago
7d2c1d2
Add new diagnostic "sqlite3TreeView" routines for IdList, Upsert, and for
by drh
· 3 years, 4 months ago
ef07f96
Fix an assert() in sqlite3TableAffinity() that might have been false if there
by drh
· 3 years, 4 months ago
5a1f761
Add a comment linking a part of the UPDATE constraint checking code to
by drh
· 3 years, 4 months ago
935c372
Fix the Xfer-optimization on the INSERT statement so that it is omitted if
by drh
· 3 years, 5 months ago
0c7d3d3
Remove many redundant checks for sqlite3.mallocFailed now that any OOM should
by drh
· 3 years, 6 months ago
3ea8238
Remove an obsolete assert() statement that no longer does anything useful
by drh
· 3 years, 7 months ago
3907560
Fix a faulty assert() statement - adding a CORRUPT_DB term - based on a test
by drh
· 3 years, 7 months ago
66306d8
When a table has an INTEGER PRIMARY KEY ON CONFLICT REPLACE and some other
by drh
· 3 years, 7 months ago
3b26b2b
Check for foreign key constraint errors prior to returning the results from
by drh
· 3 years, 8 months ago
0b97189
Remove two incorrect assert() statements added by a check-in from earlier today.
by drh
· 3 years, 9 months ago
926aac5
Fix INSERT into STRICT table with STATIC generated columns.
by drh
· 3 years, 9 months ago
362c181
Fix an incorrect assert() statement in sqlite3GenerateConstraintChecks().
by drh
· 3 years, 9 months ago
33d28ab
Minor changes to make it easier for static analyzers to reason about the code.
by drh
· 3 years, 9 months ago
f975107
Protect all accesses to the FuncDef.u and Expr.u unions using nearby
by drh
· 3 years, 10 months ago
78b2fa8
Protect every access to the Table.u union using a nearby assert() or branch.
by drh
· 3 years, 10 months ago
7b4b74a
Do not allow the xfer-optimization to move the content of an ordinary
by drh
· 4 years ago
71c770f
Improved comments. Fewer opcodes for integrity_check on strict tables.
by drh
· 4 years ago
72532f5
Trying to insert an incorrect datatype into a STRICT table raises an
by drh
· 4 years ago
65b4009
Store the collating sequence name for each column of a table as an
by drh
· 4 years ago
cf9d36d
Refactor field names in the Column object, zCnName and zCnColl, to make them
by drh
· 4 years ago
f38524d
Refactor the Table object to reduce its memory footprint.
by drh
· 4 years ago
79cf2b7
Refactor the way that DEFAULT expressions are stored on columns, in order
by drh
· 4 years ago
24384d8
Fix a (harmless) typo in a comment. No code changes.
by drh
· 4 years, 1 month ago
0003d87
Add NEVER() to a branch that is no longer reachable due to
by drh
· 4 years, 3 months ago
6e5020e
Also prohibit the use of rowid from a subquery. Add the
by drh
· 4 years, 3 months ago
11fbee2
Silence an msan warning triggered by a corrupt database by initializing a local variable in sqlite3Insert().
by dan
· 4 years, 4 months ago
2a1aeaa
Handle "RETURNING rowid" clauses attached to INSERTs on views without causing an assert() to fail. Fixes dbsqlfuzz crash 0081f863d7b2002045ac2361879fc80dfebb98f1.
by dan
· 4 years, 4 months ago
e3e8f5c
Merge recent fixes from trunk.
by drh
· 4 years, 4 months ago
eqp-improvements
d01206f
Fix an assert() that in preupdate-hook logic (not normally built) that
by drh
· 4 years, 4 months ago
same-as-3.35.3
d218dec
Merge enhancements from trunk.
by drh
· 4 years, 4 months ago
93eb906
Fix a crash that could occur when an INSERT has more than one ON CONFLICT clause, at least one of which contains an unresolvable symbol.
by dan
· 4 years, 4 months ago
a979993
Improved labeling of EXPLAIN QUERY PLAN output. Many test failures due to
by drh
· 4 years, 4 months ago
7601294
Rename the "struct SrcList_item" object to the more succinct "SrcItem".
by drh
· 4 years, 5 months ago
a55a839
Avoid invoking the update or pre-update hooks during VACUUM operations.
by dan
· 4 years, 5 months ago
6f6e60d
Improvement to the INSERT optimization of check-in [16ac213c57196361] so
by drh
· 4 years, 5 months ago
3906580
Disable the optimization of [16ac213c57196361] when the
by drh
· 4 years, 5 months ago
fadc0e3
Ensure that the pre-update hook is invoked for INSERT operations on WITHOUT ROWID tables that use the xfer optimization.
by dan
· 4 years, 5 months ago
c7e93f5
Performance optimization in the code generator for INSERT for the common
by drh
· 4 years, 5 months ago
7dec804
Remove dead code. Fix RETURNING for INSERT into a virtual table.
by drh
· 4 years, 6 months ago
returning-manifested
18e5607
New opcode OP_ChngCntRow used to output the result of PRAGMA change_count.
by drh
· 4 years, 6 months ago
d086aa0
RETURNING works even if "PRAGMA count_changes=ON" is set.
by drh
· 4 years, 6 months ago
d6665c5
Fix harmless compiler warnings seen with MSVC.
by mistachkin
· 4 years, 6 months ago
21d4f5b
Fix a potential use-after-free following an OOM in sqlite3ParserAddCleanup()
by drh
· 4 years, 6 months ago
parse-cleanup
cf3c078
Add a linked list of ParseCleanup objects to the end of a Parse object and
by drh
· 4 years, 6 months ago
a06eafc
Do not set the P3 parameter on OP_RowCell when copying an index btree, as
by drh
· 4 years, 7 months ago
9a60e71
Fix a couple spelling typos in comments.
by mistachkin
· 4 years, 7 months ago
9f023ce
Enhance UPSERT so that it allows multiple ON CONFLICT clauses and does
by drh
· 4 years, 7 months ago
255c1c1
New test cases with corresponding bug fixes.
by drh
· 4 years, 7 months ago
58b18a4
Begin adding test cases. Fix one bug found so far. More are pending.
by drh
· 4 years, 7 months ago
d3e21a1
Small performance tweaks.
by drh
· 4 years, 7 months ago
ed4c546
Bug fixes so that legacy tests pass. New tests for new functionality have
by drh
· 4 years, 7 months ago
Next »