Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
update.c
9d90a3a
Use the sqlite3ColumnIndex() routine to look up a column in a table, rather
by drh
· 5 months ago
b204b6a
Give unique names to fields in the SrcItem object, to facilitate analysis of
by drh
· 11 months ago
65a1d7a
When compiling with SQLITE_ALLOW_ROWID_IN_VIEW, if the RETURNING clause of
by drh
· 1 year, 4 months ago
592ae28
Fix harmless compiler warnings reported by MSVC.
by drh
· 2 years ago
be3ab76
Changes so that sqlite3_vtab_nochange() works with "UPDATE ... FROM...". Use this to allow UPDATE on a contentless fts5 table if new values are supplied for all indexed columns.
by dan
· 2 years ago
fts5-contentless-delete
d192b44
Restore part of the UPDATE one-pass optimization that was removed by
by drh
· 2 years ago
f6e04b6
Avoid unnecessary calls to sqlite3CodeRowTrigger().
by drh
· 2 years, 1 month ago
56a4107
Address various harmless compiler warnings from
by drh
· 2 years, 1 month ago
55be216
Fix straggler misspellings and tidy the custom dictionary. Also include pickups from [forum:/info/c61fb09afd|forum post c61fb09afd].
by larrybr
· 2 years, 1 month ago
spell-check
32a5feb
Avoid an assert() failure that could occur in SQLITE_ENABLE_UPDATE_DELETE_LIMIT builds when a WITH clause attached to an UPDATE or DELETE statement created a CTE of the same name as the table being modified.
by dan
· 2 years, 2 months ago
3cbf38c
Fix multiple problems with RETURNING on a DML statement against a view,
by drh
· 2 years, 4 months ago
7d5a549
Do not use the one-pass optimization on an UPDATE if there is a subquery
by drh
· 2 years, 4 months ago
93f41e2
Remove the SQLITE_PREPARE_SAFEOPT flag. The name is obsolete and it is at the
by drh
· 2 years, 7 months ago
ad9ff1d
Simplified experimental changes to promote the use of co-routines. Less
by drh
· 2 years, 8 months ago
c9ef12f
Code clean-up for the integrity_check enhancement.
by drh
· 2 years, 9 months ago
integrity_check_datatypes
49d77ee
An attempt to enhance PRAGMA integrity check so that it does data type
by drh
· 2 years, 9 months ago
10c5341
Dbsqlfuzz discovered a case where a bytecode branch is in fact taken, so change
by drh
· 3 years, 1 month 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
895bab3
Give the virtual table xBestIndex method access to (some) OFFSET and LIMIT
by drh
· 3 years, 6 months ago
0c7d3d3
Remove many redundant checks for sqlite3.mallocFailed now that any OOM should
by drh
· 3 years, 6 months ago
3b26b2b
Check for foreign key constraint errors prior to returning the results from
by drh
· 3 years, 8 months 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
0fb78f0
Get the "omit ORDER BY in FROM-clause subqueries" optimization working for the
by drh
· 4 years ago
5daf69e
Allow sub-queries in the FROM clause of an UPDATE...FROM statement to access the object being updated without using an alias, as is required in the parent query.
by dan
· 4 years, 1 month ago
cd1499f
Replace [0f0959c6f95046e8] with a new and better solution that also fixes the
by drh
· 4 years, 2 months ago
1168f81
When constructing the synthensized SELECT statement that is used to choose
by drh
· 4 years, 2 months ago
2be1f2a
Remove an ALWAYS() that is actually reachable following an OOM on an
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
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
32881be
Claw back most of the performance lost in the previous commit.
by drh
· 4 years, 8 months ago
lowmem-update-exp
ea24872
Modify UPDATE so that two-pass updates on a rowid table use an ephemeral
by drh
· 4 years, 8 months ago
4d906f1
Fix UPDATE FROM statements on virtual tables that are declared WITHOUT ROWID.
by dan
· 4 years, 9 months ago
68c0c71
For UPDATE and DELETE, use OP_DeferredSeek always. If the seek must later
by drh
· 5 years ago
a7c7400
More harmless compiler warning fixes.
by drh
· 5 years ago
aec7dc6
Fix a harmless compiler warning.
by drh
· 5 years ago
387af48
Add ALWAYS() around a conditional that is always true.
by drh
· 5 years ago
update-from
07ca7d6
Make it an error to repeat the target object/alias of an UPDATE statement in its FROM clause.
by dan
· 5 years ago
7e1d951
Add a couple of "#ifdef SQLITE_ENABLE_UPDATE_DELETE_LIMIT" blocks missing from new code on this branch.
by dan
· 5 years ago
6265c47
Separate VdbeCoverage() macro for different jumps.
by drh
· 5 years ago
576d5a8
Fix problems that could occur if a table with the same name as the table being updated appeared in the FROM clause of an UPDATE statement.
by dan
· 5 years ago
243210b
Fix a problem in SQLITE_ENABLE_HIDDEN_COLUMN builds occuring when an UPDATE...FROM fired an INSTEAD OF trigger.
by dan
· 5 years ago
be952c1
Add test cases and fixes for UPDATE...FROM statements that modify primary key columns.
by dan
· 5 years ago
a7f82d9
Merge latest trunk changes with this branch.
by dan
· 5 years ago
da36933
Document the dual-use of the P5 operand to the OP_MakeRecord opcode.
by drh
· 5 years ago
1e32bed
Further refactoring of the schema table name.
by drh
· 5 years ago
8c1febb
The OP_RealAffinity opcode is not necessary after reading values from
by drh
· 5 years ago
7465787
Fix problems with UPDATE...FROM statements that modify rowid or primary-key values.
by dan
· 5 years ago
8b023cf
Add OOM tests for the new code on this branch.
by dan
· 5 years ago
1e11384
Report an error if an UPDATE...FROM statement has an ORDER BY but no LIMIT clause. Add tests for multi-column primary keys.
by dan
· 5 years ago
f2972b6
Fix problems with using LIMIT and FROM clauses as part of single UPDATE statement.
by dan
· 5 years ago
9ed322d
Fix various bugs in new feature on this branch.
by dan
· 5 years ago
69887c9
Allow a FROM clause in UPDATE statements.
by dan
· 5 years ago
dc4f6fc
During byte-code generation, strive to avoid jumps that merely jump to the
by drh
· 5 years ago
5f6a2ed
Merge recent enhancements from trunk.
by drh
· 6 years ago
be3da24
Add the OP_FinishSeek opcode which completes an OP_DeferredSeek if the seek
by drh
· 6 years ago
d3ee3ad
An UPDATE of a table that is indexed by a constant virtual column that uses
by drh
· 6 years ago
41cee66
Change the name of the Expr.a.zName field to zEName, so that it has a name
by drh
· 6 years ago
ff37c40
Correctly generate pre-UPDATE content for virtual columns that are used
by drh
· 6 years ago
6ab61d7
Minor adjustments for clarity and test coverage.
by drh
· 6 years ago
7e7fd73
In UPDATE processing, include generated columns in the set of columns being
by drh
· 6 years ago
427b96a
New testcase() macros. Fix a problem with INSERT when the IPK is to the
by drh
· 6 years ago
dd6cc9b
Work toward getting generated columns to work with triggers. Still more
by drh
· 6 years ago
4102deb
Merge trunk enhancements into the generated-columns branch.
by drh
· 6 years ago
6df9c4b
Claw back some performance from the sqlite3ExprGetColumnOfTable() routine.
by drh
· 6 years ago
c143114
Some (but not all) INSERT and UPDATE statements now work for STORED columns.
by drh
· 6 years ago
8a53ce2
Basic UPDATE functionality working for VIRTUAL tables.
by drh
· 6 years ago
16fd04c
Enhancements to SQL query normalization for UPDATE statements.
by mistachkin
· 6 years ago
81f7b37
Initial experimental code for generated column support. Non-functional.
by drh
· 6 years ago
81d25cf
Mark new VDBE branches never taken.
by drh
· 6 years ago
f66bfcb
If a DELETE trigger fired by an UPDATE OR REPLACE statement deletes the row being updated, do not attempt to proceed with the original UPDATE operation. Fix for [d6a0fbc1].
by dan
· 6 years ago
9e9374b
Avoid an excess register allocation in UPDATE, when possible. This improves
by drh
· 6 years ago
a7c3b93
On an INSERT or UPDATE, generate the new table record prior to running
by drh
· 6 years ago
247c1b4
Make sure cursors are opened on all indexes for an UPDATE OR REPLACE
by drh
· 6 years ago
ec4ccdb
A new implementation of sqlite3VdbeMakeLabel() is faster and makes fewer
by drh
· 7 years ago
09d00b2
Ensure that the OP_VColumn opcode does set sqlite3_vtab_nochange() unless
by drh
· 7 years ago
40b4e7a
Further optimizations to the UPDATE logic to avoid making changes to partial
by drh
· 7 years ago
86f3492
Remove an unreachable branch from the index-on-expression optimization.
by drh
· 7 years ago
2b7cdf6
Improved presentation on the new code that prevents unnecessary writes to
by drh
· 7 years ago
e9816d8
Optimization: when doing an UPDATE on a table with indexes on an expression,
by drh
· 7 years ago
8c60719
Further logic simplifications that flow out of the omission of the column cache.
by drh
· 7 years ago
02ceed0
Completely remove the column cache logic, which has been a persistent source
by drh
· 7 years ago
6ccbd27
Further improvements to bytecode branch testing. Fix cases where the
by drh
· 7 years ago
338e311
When doing a one-pass UPDATE or DELETE on virtual tables, close the cursor
by drh
· 7 years ago
6876dcc
The previous fix for ticket [d85fffd6ffe856092ed8da] in check-in
by drh
· 7 years ago
909066b
Ensure that new.* values of an UPDATE do not get clobbered after the
by drh
· 7 years ago
de7ca50
Clarification of the behavior of a BEFORE UPDATE trigger when the trigger
by drh
· 7 years ago
f3d7bbb
Fix UPSERT so that it plays nicely with AUTOINCREMENT.
by drh
· 7 years ago
4b8bd84
Fix a harmless compiler warning.
by drh
· 7 years ago
ac9151d
Avoid opening a statement journal on single-row UPDATEs without triggers or
by drh
· 7 years ago
5deb181
Minor simplification of the previous checkin.
by drh
· 7 years ago
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
2ac4e5c
Minor simplification of the cursor allocation logic for update.
by drh
· 7 years ago
7963691
Fix the handling of "PRAGMA count_changes=ON" with UPSERT. Also improved
by drh
· 7 years ago
eac9fab
Add support for the "excluded.*" names in the UPDATE clause of an upsert.
by drh
· 7 years ago
Next »