Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
btree.h
33f3273
Early exit if one of the inner loops of a 3-way or larger join is an
by drh
· 2 weeks ago
2166766
If the LHS for an EXCEPT or INTERSECT operator is empty, skip over the
by drh
· 2 weeks ago
c2e400a
New assert() statements to validate OP_OpenEphemeral logic.
by drh
· 9 months ago
d90ecb5
Have "PRAGMA quick_check" compare the number of entries in tables and indexes.
by dan
· 1 year, 6 months ago
quick-check-counts
594f5e2
The OP_Column opcode caches large column values coming from overflow pages.
by drh
· 2 years ago
5dd74bf
Improved progress-handler and interrupt detection during PRAGMA integrity_check.
by drh
· 2 years, 6 months ago
1b3d13e
Add the SQLITE_FCNTL_RESET_CACHE verb. Use it to ensure that the page cache is purged before and after a the recovery extension is run.
by dan
· 2 years, 8 months ago
08efa45
Fix harmless typo in comment, reported by Debian in Fossil
by drh
· 2 years, 8 months ago
2c71887
Add the sqlite3_changes64() and sqlite3_total_changes64() API functions.
by dan
· 4 years, 1 month ago
42a410d
Split the sqlite3BtreeMovetoUnpacked() routine into two separate routines
by drh
· 4 years, 1 month ago
4049ede
Update a comment in btree.h.
by dan
· 4 years, 4 months ago
7aae735
Better integrate the changes on this branch with OP_Insert and OP_IdxInsert.
by dan
· 4 years, 7 months ago
cd1b2d0
Transfer large index or WITHOUT ROWID records between b-trees when vacuuming without loading them into memory.
by dan
· 4 years, 7 months ago
036e067
Experimental changes to vacuum to avoid loading large records entirely into memory. Currently only works in limited cases only - for rowid tables when the page-size does not change.
by dan
· 4 years, 7 months ago
1e6c58d
Better understanding of savepoint code
by shearer
· 4 years, 10 months ago
37ccfcf
New test-control that returns the number of calls to
by drh
· 4 years, 11 months ago
99744fa
Add support for the sqlite3_txn_state() interface.
by drh
· 5 years ago
584e8b7
All TCL tests now passing.
by drh
· 5 years ago
abc3815
Continuing work toward supporting unsigned 32-bit page numbers.
by drh
· 5 years ago
e9261db
Initial changes to allow database up to 281TB in size.
by drh
· 5 years ago
067b92b
Extend the refactoring into extensions. Clean up stray newlines.
by drh
· 5 years ago
e754830
Merge recent trunk enhancements.
by drh
· 5 years ago
45248de
The SQLITE_TESTCTRL_RESERVE operator is removed. In its place is the
by drh
· 5 years ago
e50478d
Remove the SQLITE_OMIT_BTREECOUNT option. Btree count is required.
by drh
· 5 years ago
7b14b65
Do not allow triggers that run as part of REPLACE conflict resolution
by drh
· 6 years ago
21f6daa
Faster response to sqlite3_interrupt() in the OP_IntegrityCk and OP_Count
by drh
· 6 years ago
038ebf6
Remove the unused P5 flag from the OP_Rewind opcode.
by drh
· 6 years ago
53d30dd
Early detection of implausibly sized records to avoid unnecessary
by drh
· 6 years ago
67a9b8e
Omit all window-function related code when building with SQLITE_OMIT_WINDOWFUNC.
by dan
· 7 years ago
07509f8
Merge latest trunk changes with this branch.
by dan
· 7 years ago
bb2d9b1
Change sqlite3BtreeBeginTrans() to return the BTREE_SCHEMA_COOKIE, for a
by drh
· 7 years ago
c3a20c1
Add support for "ROWS BETWEEN <expr> PRECEDING AND <expr> FOLLOWING" window
by dan
· 7 years ago
89ee229
Activate the cell-overwrite optimization for index b-trees.
by drh
· 7 years ago
092457b
Change the function name to sqlite_unsupported_offset(X). Only enable the
by drh
· 8 years ago
2fc865c
Add an experimental location(X) SQL function that attempt to return the
by drh
· 8 years ago
fe0cf7a
Avoid a test for CURTYPE_BTREE in sqlite3VdbeCursorMoveto() in order to reduce
by drh
· 8 years ago
2ab792e
Change sqlite3BtreeNext() and sqlite3BtreePrevious() so that they return
by drh
· 8 years ago
7a6ea93
Do not expose the name of the internal Mem object in the public interface
by drh
· 8 years ago
5e98e83
The analyze_as_needed pragma now responds to table size growth and will
by drh
· 8 years ago
f91c131
Changes to allow some multi-row UPDATE statements to avoid the two-pass
by dan
· 9 years ago
cb3cabd
Refactor the sqlite3BtreeKey() and sqlite3BtreeData() internal interfaces
by drh
· 9 years ago
d6ef5af
Change the OP_Last opcode so that it is a no-op if the cursor is already
by drh
· 9 years ago
9b4eaeb
Enhance the OP_IdxInsert opcode to optionally accept unpacked key material.
by drh
· 9 years ago
2eb22af
Changes to give a warning-free build with SQLITE_OMIT_INCRBLOB and
by drh
· 9 years ago
43f58d6
Fix various internal #defines to conform to new C-language naming restrictions,
by drh
· 9 years ago
272989b
Add the SQLITE_DBSTATUS_PROPORTIONAL_CACHE_USED sqlite3_db_status() parameter.
by dan
· 9 years ago
a7c90c4
Change the sqlite3BtreeKeySize() interface into sqlite3BtreeIntegerKey() and
by drh
· 9 years ago
8eeb446
Simplify the sqlite3BtreeInsert() interface by gathering the five arguments
by drh
· 9 years ago
b052958
Remove code not needed now that synchronous=OFF database files no longer
by drh
· 9 years ago
def19e3
Change the name of the BTREE_IDXDELETE flag to BTREE_AUXDELETE, to better
by drh
· 9 years ago
e807bdb
Add a new hint bit on the flags parameter of sqlite3BtreeDelete(). The new
by drh
· 9 years ago
9c0c57a
Improved comments on the FORDELETE hint. No logic changes.
by drh
· 9 years ago
20d876f
Have the vdbe layer call sqlite3BtreeEnter() on all b-trees in use from within sqlite3VdbeExec() even in SQLITE_THREADSAFE=0 builds. This ensures that BtShared.db is set correctly.
by dan
· 10 years ago
9b0cf34
First attempt at enhancing the "PRAGMA cache_spill" statement to accept a
by drh
· 10 years ago
b1d607d
Improvements and simplifications to the equality seek logic. Tests are
by drh
· 10 years ago
seekeq-experiment
f7854c7
Split out sqlite3BtreeCursorHintFlags() from sqlite3BtreeCursorHint()
by drh
· 10 years ago
c5dc3dc
Merge the BTREE_FORDELETE enhancement with this branch.
by dan
· 10 years ago
2b4e952
Remove an unused #define from whereInt.h. Add comments describing the new sqlite3BtreeCursor() flags.
by dan
· 10 years ago
fd261ec
Modifications to pass a flag to internal routine sqlite3BtreeCursor() when a cursor that is used solely for deleting b-tree entries, or for obtaining the components of keys to delete from other b-trees, is opened.
by dan
· 10 years ago
81966be
Merge enhancements from trunk.
by drh
· 10 years ago
f0ee1d3
Experimental change to use a single-pass approach for DELETE statements on non-virtual tables that do not fire triggers or require foriegn-key processing.
by dan
· 10 years ago
0403cb3
Always provide the BTREE_BULKLOAD hint, even when SQLITE_ENABLE_CURSOR_HINTS
by drh
· 10 years ago
0df5701
Refactor the sqlite3BtreeCursorHint() interface for improved maintainability.
by drh
· 10 years ago
bec2476
Merge in all the trunk changes from the previous year. This breaks the
by drh
· 10 years ago
e0997b3
Provide the BTREE_SEEK_EQ hint to the b-tree layer.
by drh
· 10 years ago
ad0961b
Keep track of the optimal number of reserved bytes (by looking at reserve
by drh
· 10 years ago
9161856
Experimental "PRAGMA data_version" command for detecting when another process
by drh
· 11 years ago
8023104
When a transaction or savepoint rollback occurs, save the positions of all open read-cursors so that they can be restored following the rollback operation.
by dan
· 11 years ago
47b7fc7
Experimental changes that permit read operations to continue after a
by drh
· 11 years ago
read-after-rollback
def6889
Add the SQLITE_CONFIG_PCACHE_HDRSZ option for sqlite3_config().
by drh
· 11 years ago
6848dad
Another performance tweak: Split the sqlite3BtreeCursorHasMoved() routine
by drh
· 11 years ago
781597f
Fix the sqlite3_db_readonly() API so that it reports true if the database
by drh
· 11 years ago
e4529c5
Merge in the latest changes and fixes from trunk.
by drh
· 11 years ago
079a307
First attempt at getting block-sort to work. This is an incremental check-in.
by drh
· 11 years ago
18c7e40
Fix a harmless compiler warning that crops up with SQLITE_MAX_MMAP_SIZE=0.
by drh
· 11 years ago
5a500af
Enable the b-tree cursor objects overflow page-number cache, which is normally enabled only for incr-blob cursors, for all cursors.
by dan
· 11 years ago
e0670b6
Remove the "rowid cache" that sought to remember the largest rowid for a
by drh
· 11 years ago
2893536
If the SQLITE_ENABLE_CURSOR_HINTS macro is defined, then invoke the
by drh
· 12 years ago
501932c
Changes some offset and amount parameters from "int" to "u32" to avoid
by drh
· 12 years ago
40c3941
Add the cache_spill pragma.
by drh
· 12 years ago
4ee09b4
Allocate 4 bytes of unused header space for an "Application ID". Add
by drh
· 12 years ago
0d0614b
Memory-mapped I/O is now on by default. The "PRAGMA mmap_limit(N)" can be
by drh
· 12 years ago
5d8a137
Add the sqlite3_io_methods.xMremap() method to the VFS interface. Also "PRAGMA mmap_size".
by dan
· 12 years ago
b483eba
Ensure that when the source of a backup is a database that is zero bytes in size, the final destination database consists of at least one page. Truncating it to zero bytes is equivalent to zeroing the schema cookie and change counter, which can cause problems for existing clients.
by dan
· 13 years ago
a1f3853
Omit the sqlite3GetReservedNoMutex() routine in build configurations where
by drh
· 13 years ago
0094f37
Avoid calling sqlite3BtreeEnter() in a corner case where the corresponding database handle mutex (sqlite3.mutex) may not be held. This prevents a potential deadlock or crash that can occur if the backup API, shared-cache mode and SQLITE_HAVE_CODEC are all in use.
by dan
· 13 years ago
428c218
When reusing pages as part of creating a new index, allocate the leaves from each free-list trunk page in ascending order, instead of trying to maximize localization for each individual allocation. This increases the chance that pages will be written to disk in ascending order by a large CREATE INDEX statement, improving overall performance.
by dan
· 13 years ago
0f198a7
Change the ROLLBACK command so that pending statements to not block it. The
by drh
· 13 years ago
33f111d
Remove the undocumented PRAGMA omit_readlock hack.
by drh
· 14 years ago
5134d13
Instead of a temporary b-tree, use a linked-list and merge-sort to sort records in main memory in vdbesort.c.
by dan
· 14 years ago
2a5d990
Create a new pager type, PAGER_SORTER, for use in the external merge sort.
by drh
· 14 years ago
3a6d8ae
Have the ATTACH command do URI interpretation in the same way as sqlite3_open() and sqlite3_open_v2() do.
by dan
· 14 years ago
dc5b047
Fix a performance regression: Keep two btree masks in each prepared
by drh
· 14 years ago
e54e051
Remove the mutex counter and the logic that attempts to verify that btree
by drh
· 14 years ago
2120608
Add a description of access rules for the Schema object and lots of asserts
by drh
· 14 years ago
bdaec52
Remove the BtreeMutexArray object - use the Vdbe.btreeMask field to accomplish
by drh
· 14 years ago
60939d0
Fix a problem whereby following an IO error in CommitPhaseTwo() of a multi-file transaction the b-tree layer could be left in TRANS_WRITE state, causing problems later on.
by dan
· 14 years ago
27f9aba
Merge the checkpoint_fullfsync pragma and the superlock demonstration into
by drh
· 15 years ago
blocking-checkpoint
c97d846
Add the checkpoint_fullfsync pragma which enables F_FULLFSYNC on checkpoint
by drh
· 15 years ago
cdc1f04
Modify the interface to the blocking wal-checkpoint functionality.
by dan
· 15 years ago
Next »