Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
HEAD
/
src
/
btreeInt.h
c071c47
Tamp down various harmless compiler warnings. Use "int" in places instead
by drh
· 5 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
a328c42
Minor doc fix in src/betreeInt.h, prompted by an email report. No code changes.
by stephan
· 1 year, 8 months ago
266e5d0
Avoid an unnecessary malloc() for the page usage bitmap when running
by drh
· 1 year, 9 months ago
104e225
Fix doc error noted in [forum:/forumpost/11fc7308d5e607f2|the forum] and a misspelling.
by larrybr
· 2 years ago
bc91738
Add a C-source spell-checking facility. make misspell (on Nix)
by larrybr
· 2 years, 1 month ago
61791c6
Fix harmless typos in comments.
by drh
· 2 years, 2 months ago
67a1777
Fix typo in comment. [forum:/forumpost/3da7d9c445|Forum post 3da7d9c445].
by drh
· 2 years, 3 months ago
e5ea81a
Improved error messages from PRAGMA integrity_check. Identify the root of
by drh
· 2 years, 4 months ago
8518eac
Fix duplicate semicolon in btreeInt.h.
by drh
· 2 years, 6 months ago
5dd74bf
Improved progress-handler and interrupt detection during PRAGMA integrity_check.
by drh
· 2 years, 6 months ago
e7d5384
Performance optimization to sqlite3BtreeInsert().
by drh
· 2 years, 8 months ago
32135d7
Fix a minor typo in a comment.
by drh
· 3 years, 4 months ago
a055abb
The MemPage.aDataEnd field should point to the end of the data buffer for
by drh
· 3 years, 5 months ago
584bfca
Store the page number for the PENDING_BYTE page in the Pager object, rather
by drh
· 3 years, 5 months ago
1273d69
Have the btree layer detect when a "DELETE FROM tbl" statement is clearing a database page that is still in use (due to database corruption) and report SQLITE_CORRUPT.
by dan
· 3 years, 9 months ago
2b994ce
Change the name of the iDataVersion field of Btree to iBDataVersion to make
by drh
· 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
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
abc3815
Continuing work toward supporting unsigned 32-bit page numbers.
by drh
· 5 years ago
8ddf635
Change the name of IntegrityCk.mallocFailed to IntegrityCk.bOomFault to
by drh
· 5 years ago
ccb2113
Refactoring various names. No changes in the resulting machine code.
by drh
· 5 years ago
e937df8
Fix the handling of reserve-bytes so that the maximum value of 255 can be used.
by drh
· 5 years ago
45248de
The SQLITE_TESTCTRL_RESERVE operator is removed. In its place is the
by drh
· 5 years ago
b48c0d5
Simplify the code by removing the unsupported and undocumented
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
a941ff7
Change an assert() into a NEVER(), since the condition is difficult to prove
by drh
· 6 years ago
deferred-free-space
b0ea943
Defer computing the MemPage.nFree value of an in-memory btree page
by drh
· 6 years ago
0c873bf
Change the definition of the BtCursor.skipNext field so that it is undefined
by drh
· 6 years ago
da6bc67
Rearrange fields of the BtCursor object so that it is smaller and requires less
by drh
· 7 years ago
a8519d7
Interchange the numeric codes for CURSOR_VALID and CURSOR_INVALID to obtain
by drh
· 7 years ago
fe0cf7a
Avoid a test for CURTYPE_BTREE in sqlite3VdbeCursorMoveto() in order to reduce
by drh
· 8 years ago
352a35a
Btree optimization: New field BtCursor.pPage that points to the current page,
by drh
· 8 years ago
a5907a8
Experimental "PRAGMA secure_delete=FAST" pragma. The intent is to overwrite
by drh
· 8 years ago
fast-secure-delete
b6017a4
Remove unused fields from the BtCursor object.
by drh
· 8 years ago
75e96b3
Save a 78 bytes of code space and a million CPU cycles in speedtest1 by
by drh
· 8 years ago
30a5831
Fix typos in using the MSVC_VERSION macro.
by drh
· 8 years ago
a39284b
Cleanup the usage of the SQLITE_DISABLE_INTRINSIC compile-time option.
by drh
· 8 years ago
a2ee589
Avoid unnecessary zeroing of fields in the MemPage object that are going
by drh
· 9 years ago
8f3f65e
Remove an unused field from the MemPage object.
by drh
· 10 years ago
45ac1c7
Reduce the size of the CellInfo object from 32 to 24 bytes on 64-bit machines.
by drh
· 10 years ago
optimize-cellinfo
9584f58
Rename the sqlite3PagerAcquire() function to sqlite3PagerGet(). The former
by drh
· 10 years ago
60e0807
Add SQLITE_DISABLE_INTRINSIC define to disable use of intrinsic functions (e.g. for certain older compilers and/or platforms).
by mistachkin
· 10 years ago
e05b3f8
Simplification of PRAGMA integrity_check logic. Make sure that the depth
by drh
· 10 years ago
647ca46
Make use of the _byteswap_ushort() and _byteswap_ulong() compiler intrinsics for MSVC, when available.
by mistachkin
· 10 years ago
ad26529
Only use <nowiki>__builtin_bswap16()</nowiki> with GCC 4.8 and later.
by drh
· 10 years ago
bswap-functions
329428e
Remove the use of htonl() in the previous check-in due to linkage issues.
by drh
· 10 years ago
27fb746
Put BtCursor objects on a singly-linked list instead of a doubly-linked list.
by drh
· 10 years ago
408efc0
Add the BtCursor.curIntKey field and use it for a small size reduction and
by drh
· 10 years ago
28f58dd
Performance improvements in moveToChild() by shifting some work over
by drh
· 10 years ago
f44890a
Add the Mempage.aDataOfst field and use it in sqlite3BtreeMovetoUnpacked()
by drh
· 10 years ago
6918095
Enhance the Btree object to remember whether or not it is holding an
by drh
· 10 years ago
5fa6051
Add the MemPage.xParseCell method and provide various implementations
by drh
· 10 years ago
25ada07
Make cellSizePtr() a method on the MemPage object, with alternative
by drh
· 10 years ago
ccf46d0
Improved detection and suppression of endless loops in clearDatabasePage().
by drh
· 10 years ago
ad0961b
Keep track of the optimal number of reserved bytes (by looking at reserve
by drh
· 10 years ago
3da9c04
Redefine the way PRAGMA data_version works: It continues to change when
by drh
· 11 years ago
d816e00
Improved comments on the BtCursor.skipNext field. No changes to code.
by drh
· 11 years ago
92787cf
Add a four-byte prefix to the BtShared.pTmpSpace buffer to avoid reading
by drh
· 11 years ago
867db83
Fix the "PRAGMA integrity_check" command so that it avoids formatting error
by drh
· 11 years ago
3e28ff5
Add the MemPage.noPayload boolean and use it to help
by drh
· 11 years ago
ab1cc58
Simplify the CellInfo structure for a size reduction and performance
by drh
· 11 years ago
60ec914
Fix typos in comments. No code changes.
by peter.d.reid
· 11 years ago
4c41718
Fix a compiler warning when SQLITE_DIRECT_OVERFLOW_READ is defined.
by drh
· 11 years ago
036dbec
Combine the various boolean fields of the BtCursor object into a single
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
e75fb06
Bring some file format comments in btreeInt.h up to date.
by drh
· 12 years ago
9b47ee3
Performance optimizations in the VDBE and especially to the OP_Next and
by drh
· 12 years ago
bc1a3c6
If a rollback mode transaction reduces the size of the database file, avoid actually truncating the file until after the transaction has been committed (but before the db has been unlocked). This means pages that are removed from the database by truncating the file need not be journalled.
by dan
· 12 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
1235bb1
Modify the integrity-check code to reduce the size of the large allocation from 4 bytes to 1 bit for each page in the database file.
by dan
· 13 years ago
2cbd78b
Reduce the size of the MemPage object by about 32 bytes. Other structure
by drh
· 13 years ago
c916634
Combine various boolean variables in the BtShared structure into a single
by drh
· 14 years ago
b8a45bb
Fix typos in comments. No changes to code.
by drh
· 14 years ago
3def235
Make sure a corrupt index does not cause a buffer overread in
by drh
· 14 years ago
fcd71b6
Suppress many harmless compiler warnings, mostly signed/unsigned comparisons
by drh
· 14 years ago
e54e051
Remove the mutex counter and the logic that attempts to verify that btree
by drh
· 14 years ago
bdaec52
Remove the BtreeMutexArray object - use the Vdbe.btreeMask field to accomplish
by drh
· 14 years ago
4fa7d7c
Fix typos in comments. No changes to code.
by drh
· 14 years ago
2e5de2f
Reorder the fields in private structures in an effort to reduce alignment
by drh
· 15 years ago
d4187c7
Provide hints to the btree layer during the creation of transient tables
by drh
· 15 years ago
b2eced5
Increase the maximum page size from 32k to 64k.
by drh
· 15 years ago
b978002
Tests for (and changes to) the code to switch between WAL and rollback modes.
by dan
· 15 years ago
25a80ad
The btree layer now tracks when a database is empty at the start of a
by drh
· 15 years ago
dd3cd97
Experimental changes that cause SQLite to use bytes 28..31 of the database
by drh
· 15 years ago
5b47efa
All the secure-delete setting to be changed at run-time using a pragma.
by drh
· 15 years ago
c81c11f
Remove the obsolete "$Id:$" RCS identifier strings from the source code.
by drh
· 16 years ago
5bbe548
Minor updates and corrections to comments in btreeInt.h. No changes to code.
by drh
· 16 years ago
ed1f878
Fix comment typos in btreeInt.h.
by drh
· 16 years ago
4c301aa
Simplifications to btree.c in support of structural testing. Renamed the
by drh
· 16 years ago
3054866
Restore (btree_set_cache_size) to test3.c. This is used on unix for the tcl "crash tests". Make some functions no longer used outside of btree.c static. (CVS 6869)
by danielk1977
· 16 years ago
602b466
Cause opening a transaction on a sharable b-tree module automatically obtain a read-lock on page 1. This means there is no way for sqlite3BtreeGetMeta() to fail. (CVS 6836)
by danielk1977
· 16 years ago
13bd99f
Simplify things by rolling the functionality of balance_shallower() into balance_nonroot(). (CVS 6808)
by danielk1977
· 16 years ago
27731d7
Make sure sqlite3BtreeCreateTable() returns an error code if the largest
by drh
· 16 years ago
0d588bb
Suppress some -Wextra compiler warnings from GCC. (CVS 6774)
by drh
· 16 years ago
be22965
Make sure struct WhereClause is aligned on an 8-byte boundary. Fix for #3613, #3736. (CVS 6364)
by danielk1977
· 16 years ago
bd43455
Fix some cases where executing SQL from within a user-function callback could cause problems related to statement-transactions. (CVS 6355)
by danielk1977
· 16 years ago
Next »