Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
delete.c
7f0e0c7
New assert()s to help verify union access. No logic changes. Testing and
by drh
· 10 months ago
bb36d55
Fix minor comment issues.
by drh
· 11 months ago
692c160
Tighter checking of access constraints on union members in SrcItem.
by drh
· 11 months ago
ff17623
Fix some stray SrcItem field name fixes.
by drh
· 11 months ago
b204b6a
Give unique names to fields in the SrcItem object, to facilitate analysis of
by drh
· 11 months ago
8797bd6
Reduce the size of the SrcItem object by combining fields into a union.
by drh
· 11 months ago
1f097a2
Add bit to sqlite3_test_control(SQLITE_TESTCTRL_OPTIMIZATIONS) that will
by drh
· 2 years ago
c439b9e
Avoid unnecessary calls to sqlite3DeleteTable() with NULL pointers.
by drh
· 2 years, 1 month 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
bc91738
Add a C-source spell-checking facility. make misspell (on Nix)
by larrybr
· 2 years, 1 month ago
60fd5c3
New assert() statements to verify that Expr.iColumn is never used as an
by drh
· 2 years, 2 months ago
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
ffcad58
Disallow the one-pass optimization for DELETE if the WHERE clause contains
by drh
· 2 years, 4 months ago
41ce47c
Add the new internal interface sqlite3DbNNFreeNN(db,ptr) where both the
by drh
· 2 years, 11 months ago
00378fd
Enhance the enforcement of SQLITE_VTAB_DIRECTONLY so that it applies to
by drh
· 2 years, 11 months ago
058e995
Small performance increase and size reduction by splitting out the
by drh
· 3 years ago
d44f8b2
Improved technique for parsing the ON and USING clauses of a join is faster
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
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
dbfbb5a
New assert() statements to protect the u1 and u2 unions of SrcList.
by drh
· 3 years, 10 months ago
7061aa8
Fix the build for SQLITE_ENABLE_UPDATE_DELETE_LIMIT.
by drh
· 4 years ago
f38524d
Refactor the Table object to reduce its memory footprint.
by drh
· 4 years ago
21571a9
An index on the expression "likely(X)" should store the true value of X,
by drh
· 4 years, 1 month ago
a6df0e6
Fix the truncate optimization so that PRAGMA count_changes and changes()
by drh
· 4 years, 2 months ago
a4656e3
Fix a problem with UPDATE and DELETE statements that use both INDEXED BY and LIMIT clauses in SQLITE_ENABLE_UPDATE_DELETE_LIMIT builds.
by dan
· 4 years, 5 months ago
a79e2a2
Materialize any CTE that is used more than once.
by drh
· 4 years, 5 months ago
7601294
Rename the "struct SrcList_item" object to the more succinct "SrcItem".
by drh
· 4 years, 5 months ago
1862271
Performance improvement in resolving the INDEXED BY index name for the common
by drh
· 4 years, 5 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
a344ad4
Do not apply affinities when creating entries for automatic indexes on views. Fix for [95302bdb].
by dan
· 4 years, 10 months ago
68c0c71
For UPDATE and DELETE, use OP_DeferredSeek always. If the seek must later
by drh
· 5 years ago
a7f82d9
Merge latest trunk changes with this branch.
by dan
· 5 years ago
1e32bed
Further refactoring of the schema table name.
by drh
· 5 years ago
85bd353
Earlier detection of index corruption caused by missing index entries.
by drh
· 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
070ae3b
Break out the test for writable shadow tables into a separate subroutine.
by drh
· 6 years ago
39b30a7
In sqlite3GenerateIndexKey(), do not attempt to reuse column values from
by drh
· 6 years ago
f09a14f
Add missing column translations to foreign key logic. Ticket [c28a01da72f8957c]
by drh
· 6 years ago
29c992c
Revamp the SrcList allocator routines to be methods of Parse instead of
by drh
· 7 years ago
ec4ccdb
A new implementation of sqlite3VdbeMakeLabel() is faster and makes fewer
by drh
· 7 years ago
f6e015f
Fixes for SQLITE_OMIT_VIRTUAL_TABLE builds.
by dan
· 7 years ago
e1857cc
Performance improvement in subroutine that decides whether or not a table
by drh
· 7 years ago
0f0d3dd
Enable DEFENSIVE mode by default for tests. This requires lots of case of
by drh
· 7 years ago
aef15e7
Turn on defensive mode for running test scripts. Does not yet work.
by drh
· 7 years ago
fc25721
Only allow shadow table to be written from within a recursive SQL call.
by drh
· 7 years ago
5a65470
Add enforcement of read-only on shadow tables. This does not currently work
by drh
· 7 years ago
0f1c2eb
Correct the internal logic for SQLITE_DBCONFIG_DEFENSIVE.
by drh
· 7 years ago
dbconfig-defensive
a296cda
Add the SQLITE_DBCONFIG_DEFENSIVE flag.
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
338e311
When doing a one-pass UPDATE or DELETE on virtual tables, close the cursor
by drh
· 7 years ago
7c48360
Avoid the use of statement journals on DELETEs of a single row without
by drh
· 7 years ago
7963691
Fix the handling of "PRAGMA count_changes=ON" with UPSERT. Also improved
by drh
· 7 years ago
614efe2
Experimental change to include changes made to the sqlite_stat1 table in
by dan
· 8 years ago
ee15962
Make sure the bComplex variable in sqlite3DeleteFrom() is initialized when
by drh
· 8 years ago
8c0833f
In the parse tree, combine LIMIT and OFFSET into a single expression rooted
by drh
· 8 years ago
3b61ebb
Omit some extra code from non-SQLITE_ENABLE_UPDATE_DELETE_LIMIT builds.
by dan
· 8 years ago
update-delete-limit-fix
ca3e3c3
Fix a problem involving "DELETE/UPDATE...LIMIT" statements that use an INDEXED
by dan
· 8 years ago
26caf5b
Fix a problem with (DELETE...LIMIT) statements against WITHOUT ROWID tables
by dan
· 8 years ago
b3c16b8
Add SQLITE_ENABLE_UPDATE_DELETE_LIMIT for views and WITHOUT ROWID tables.
by dan
· 8 years ago
e3740f2
Experimental changes that allow a WITHOUT ROWID virtual table to be writable
by drh
· 8 years ago
3e34eab
Allow indexes to be created on date/time functions as long as the 'now'
by drh
· 8 years ago
170ad68
Change the name of the OP_Seek opcode into OP_DeferredSeek for better
by drh
· 8 years ago
1e1c422
Fix a documentation typo. No changes to code.
by drh
· 8 years ago
doc-type
9418921
New requirements marks and documentation for the authorizer.
by drh
· 8 years ago
50133de
Fix a problem causing the pre-update hook to be invoked by DROP TABLE
by dan
· 8 years ago
da06005
Back out check-in [0b3174e0b1364c] and replace it with a better fix
by drh
· 9 years ago
automatic-index-affinity
6811693
Improvements to the iIdxNoSeek optimization of sqlite3GenerateRowDelete()
by drh
· 9 years ago
4cef5b1
Critical fix to the previous check-in so that it works when there are
by drh
· 9 years ago
ad1d9a8
Avoid an unnecessary btree seek while deleting an index entry due to a conflict
by drh
· 9 years ago
79df778
Refactor the Table.nRef field as Table.nTabRef for easier grepping.
by drh
· 9 years ago
f14b7fb
Add the sqlite3VdbeAppendP4() method for adding P4 content to the most recently
by drh
· 9 years ago
abfd35e
Performance improvement and size reduction in the Expr node allocator
by drh
· 9 years ago
9057fc7
Remove the OP_RowKey opcode. Use OP_RowData in its place.
by drh
· 9 years ago
65f38d9
Remove unnecessary OP_Close opcodes for a size reduction and performance
by drh
· 9 years ago
9b4eaeb
Enhance the OP_IdxInsert opcode to optionally accept unpacked key material.
by drh
· 9 years ago
511f9e8
Remove the internal sqlite3CodeOnce() interface, replacing it with a
by drh
· 9 years ago
a0daa75
Fix SQLITE_OMIT_AUTHORIZATION so that it compiles cleanly.
by drh
· 9 years ago
69c3382
Rename the Db.zName field to Db.zDbSName to make it more descriptive and to
by drh
· 9 years ago
bcf6884
In the WHERE generator, when building code for a DELETE operation, make sure
by drh
· 9 years ago
ticket-16c9801ce
9fe3fbb
Fix typo in comment. No changes to code.
by mistachkin
· 9 years ago
91da707
Only disable the one-pass DELETE optimization if the WHERE clause contains
by drh
· 9 years ago
57a07ba
Disable the multi-row one-pass DELETE optimization when the WHERE clause
by drh
· 9 years ago
08de4f7
Factor out the common operation of setting the Expr.x.pSelect field of an
by drh
· 9 years ago
0ac7cfa
Merge enhancements from trunk.
by drh
· 9 years ago
575fad6
Add the slightly faster sqlite3DbMallocRawNN(db,n) routine for the majority
by drh
· 9 years ago
oom-handling
33c1eb6
Merge all recent enhancements from trunk.
by drh
· 9 years ago
def19e3
Change the name of the BTREE_IDXDELETE flag to BTREE_AUXDELETE, to better
by drh
· 9 years ago
b89aeb6
Add assert() statements on the nExtraDelete variable in vdbe.c to try to verify
by drh
· 9 years ago
e807bdb
Add a new hint bit on the flags parameter of sqlite3BtreeDelete(). The new
by drh
· 9 years ago
769dc6e
Merge the latest enhancements from trunk.
by drh
· 10 years ago
Next »