Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
sqlite
/
sqlite
/
refs/heads/mptest
/
src
6062531
Increase the default SQLITE_MAX_SCHEMA_RETRY to 50. Make sure that macro
by drh
· 12 years ago
d7a558a
Improve the code coverage of "permutations.test coverage-pager".
by dan
· 12 years ago
67f7c78
Updates to the file-control documentation. No changes to code.
by drh
· 12 years ago
a478b3f
Try to use mmap() to speed access to the database file on windows, linux,
by drh
· 12 years ago
b0a8ea0
Release resources prior to bailing out of the btreeCreateTable() routine
by drh
· 12 years ago
experimental-mmap
370c9f4
Remove an unreachable branch in the direct blob I/O logic of btree.c.
by drh
· 12 years ago
716d6d2
Fix a bug in the detection of iOS when setting the default mmap_limit.
by drh
· 12 years ago
34f7490
Change the mmap_limit pragma to report the new limit, or to report the
by drh
· 12 years ago
6c96946
Remove the restriction on using xFetch to load the root pages of tables and indexes. It appears to have been based on a misconception.
by dan
· 12 years ago
f7679ad
When moving a page to make way for the root page of a new table or index in an auto-vacuum database, save the positions of any cursors that may be holding xFetch references to the page being moved.
by dan
· 12 years ago
227a1c4
In btree.c, save the positions of other cursors open on the same table when writing via an incremental blob handle. Otherwise, they may be left holding an out-of-date xFetch page reference.
by dan
· 12 years ago
2b8246e
Initialize the mmap_limit of temporary files to the configured mmap_limit.
by drh
· 12 years ago
7e36962
Make use of xFetch, if it is available when doing a VACUUM or a backup.
by drh
· 12 years ago
7d9f394
Add the -mmap option to the command-line shell, for setting the default
by drh
· 12 years ago
85830a7
Fix the unix driver to check defined(_BSD_SOURCE) rather than just the plain
by drh
· 12 years ago
48ccef8
Fix a resource leak in os_unix.c.
by dan
· 12 years ago
a9d79ae
Add assert to the Windows VFS pertaining to the size of the SIZE_T type.
by mistachkin
· 12 years ago
d409792
Change an assert in pager.c to acknowledge that it is possible for sqlite3PagerRollback() to return SQLITE_CORRUPT.
by dan
· 13 years ago
a2c16c0
Fix the build for Mac.
by drh
· 13 years ago
07fa864
Fix a faulty assert() in the os_win.c VFS.
by drh
· 13 years ago
936c6d7
If the SQLITE_TRACE_SIZE_LIMIT compile-time parameter is set to a positive
by drh
· 13 years ago
4ff7bc4
Add test cases for errors in mmap() or mremap() is os_unix.c.
by dan
· 13 years ago
a3a2b3b
Proposed template preprocessor magic for activating mmap only on platforms
by drh
· 13 years ago
6d81449
Reorder two conditions to make coverage testing easier.
by drh
· 13 years ago
092d993
Remove an unreachable condition from pager.c.
by drh
· 13 years ago
98d2038
Always send the SQLITE_FCNTL_MMAP_LIMIT pragma to the VFS, even if the limit
by drh
· 13 years ago
3861f54
Remove a debugging printf() accidently left in the previous check-in.
by drh
· 13 years ago
a1f42c7
Add the SQLITE_CONFIG_MMAP_LIMIT configuration option for overriding the
by drh
· 13 years ago
a539c8a
Add a comment to xUnfetch on windows to say that the call to winUnmapfile()
by drh
· 13 years ago
db56bcb
In windows, round down the size of the memory mapped region to the next
by drh
· 13 years ago
57d6b25
Merge accidental fork.
by dan
· 13 years ago
e6ecd66
Attempt to emulate mremap() on non-Linux systems by allocating a second mapping immediately following the first in virtual memory.
by dan
· 13 years ago
f9d18e4
Bug fix in the winMapfile() subroutine: Be sure to record the map object
by drh
· 13 years ago
5175b32
Add xFetch and xUnfetch methods to the os_win.c VFS.
by drh
· 13 years ago
f55a4cf
Ensure that a checkpoint does not use an out-of-date mapping.
by dan
· 13 years ago
0943f0b
Fix a typo in a log message in wal.c.
by dan
· 13 years ago
71be5c5
Fix a problem in btree.c that could cause a crash following an OOM.
by dan
· 13 years ago
1288663
Adjustment to an extreme corner case in the sqlite3Atoi64() routine.
by drh
· 13 years ago
4b11bad
Fix harmless compiler warnings coming from MSVC64 in test code. No
by drh
· 13 years ago
d988357
In order to optimize out the ORDER BY clause,
by drh
· 13 years ago
e6a8bbb
Restore additional ORDER BY optimizations that where broken by the
by drh
· 13 years ago
orderby-fix
2b6c874
Improved optimization of ORDER BY.
by drh
· 13 years ago
8a1b87c
A fix an test-case for the ORDER BY problem identified by ticket [a179fe7465].
by drh
· 13 years ago
138eeeb
Candidate fix for ticket [6bfb98dfc0c]: Make sure invalid cursors drop all
by drh
· 13 years ago
6c56963
Fix a comment in os_unix.c. No code changes.
by drh
· 13 years ago
c86e513
Change the name of the Pager.pFree field to Pager.pMmapFreelist.
by drh
· 13 years ago
0aed84d
In btree.c, save the positions of any open cursors before moving any pages around to auto-vacuum the database on commit.
by dan
· 13 years ago
41f89cc
Previous check-in accidently left mmap turned off by default. This checkin
by drh
· 13 years ago
0d0614b
Memory-mapped I/O is now on by default. The "PRAGMA mmap_limit(N)" can be
by drh
· 13 years ago
d1ab806
Add munmap and mremap to the set of os interfaces that can be overloaded
by drh
· 13 years ago
b7e3a32
Use mremap() on Linux.
by dan
· 13 years ago
dee6554
Merge all recent trunk changes into the experimental-mmap branch.
by drh
· 13 years ago
893c0ff
Add a test that simulates an error in mmap().
by dan
· 13 years ago
a64d5a1
Simulate OOM errors in the sqlite3OsFetch() function. Run malloc.test as part of the "mmap" permutation.
by dan
· 13 years ago
df737fe
Change the signature of the xUnfetch method to "int (*xUnfetch)(sqlite3_file*, sqlite3_int64 iOfst, void *p)".
by dan
· 13 years ago
aef49d7
Remove unnecessary code to round the size of a memory mapping to 4KB from os_unix.c. Rename SQLITE_IOERR_MREMAP to SQLITE_IOERR_MMAP. Fix other small issues in os_unix.c.
by dan
· 13 years ago
11ac846
Do not return SQLITE_IOERR when the user attempts to open a small file that is not a database with mmap enabled. Instead return SQLITE_NOTADB.
by dan
· 13 years ago
a1afc74
Fix a case in the pager where an xFetch() reference was being leaked following an OOM error.
by dan
· 13 years ago
dba0cb2
Remove the SQLITE_OMIT_MERGE_SORT compile-time option and its related code.
by drh
· 13 years ago
f23da96
Replace the sqlite3_io_methods.xMremap interface with sqlite3_io_methods.xFetch and xUnfetch.
by dan
· 13 years ago
e5586a1
Improve a comment in wal.c. No code changes.
by dan
· 13 years ago
9d56c6d
Fix a case where a checkpoint operation could write to an invalid part of a memory mapped region.
by dan
· 13 years ago
2753388
In the winMremap VFS function, unmap the region prior to attempting to truncate the file.
by mistachkin
· 13 years ago
46fce00
Do not unmap the mapped file region in winTruncate as there may be outstanding pointers to it.
by mistachkin
· 13 years ago
daf9a5a
Preliminary changes to support the xMremap VFS method on Windows.
by mistachkin
· 13 years ago
23f29ec
Fix a potential NULL-pointer dereference in btreeSwapOutMmap().
by drh
· 13 years ago
aa1d67b
Fix a case where the mapped part of a database file may be written during a backup operation.
by dan
· 13 years ago
99bd109
Allow the database file to be memory mapped in wal mode.
by dan
· 13 years ago
c000331
Add a fix for the assert() statements added by the previous commit.
by dan
· 13 years ago
6101d50
Add assert statements to os_unix.c to ensure that any mapped region of the database file is not being read or written using the xRead() or xWrite() methods.
by dan
· 13 years ago
48864df
Many spelling fixes in comments. No changes to code.
by mistachkin
· 13 years ago
b26e6c1
Fix cases where xRead() was being used to read from a memory mapped part of the database file.
by dan
· 13 years ago
7c49427
Avoid calling xRead() on a part of the database file that is memory mapped.
by dan
· 13 years ago
5b068f8
Fix a problem when opening a write-transaction while there exist read-only b-tree cursors in mmap mode.
by dan
· 13 years ago
c71b45e
Do not use the Linux mremap() call. Use the same strategy for xMremap() as on OSX instead.
by dan
· 13 years ago
d306e1a
Optimize the xMremap method in os_unix.c some.
by dan
· 13 years ago
eb97b29
When possible, use memory mapping when appending new pages to a database file.
by dan
· 13 years ago
0e5fba7
Fix text-to-numeric type casting so that it works correctly on UTF16
by drh
· 13 years ago
5d8a137
Add the sqlite3_io_methods.xMremap() method to the VFS interface. Also "PRAGMA mmap_size".
by dan
· 13 years ago
ce3ca25
Clarifications to the documentation for the sqlite3_aggregate_context() API.
by drh
· 13 years ago
a72014f
When possible, use memcpy() to and from the mapped region instead of xWrite() and xRead().
by dan
· 13 years ago
7af6547
Fix a dropped error code in pager.c.
by dan
· 13 years ago
11dcd11
Allow read-only cursors to use mmap pages even if there is an open write transaction.
by dan
· 13 years ago
b2d3de3
Use mmap() to read from the database file in rollback mode. This branch is unix only for now.
by dan
· 13 years ago
b19cad6
Fix the ORDER BY with IN constraint logic so that it works with all
by drh
· 13 years ago
725e1ae
Add a single new test case to the ORDER BY with IN logic verify that if the
by drh
· 13 years ago
desc-orderby-fix-1
f584016
Fix typo in sqlite3_close() function documentation reported on the mailing list.
by mistachkin
· 13 years ago
docTypo
1ccce44
Fix the ORDER BY optimization with IN constraints when the RHS of the
by drh
· 13 years ago
d383216
Revise the patch to make it easier to understand.
by drh
· 13 years ago
7a3e147
Revised fix for the DESC ORDER BY and IN constraint bug,
by drh
· 13 years ago
0fe456b
A proposed fix for the DESC ORDER BY bug of ticket [4dd95f6943fbd18].
by drh
· 13 years ago
881bd79
Define _BSD_SOURCE when building on OpenBSD. This is required for fchmod().
by dan
· 13 years ago
09ff9e1
Fixes for compiling with SQLITE_OMIT_AUTOVACUUM and/or SQLITE_OMIT_TRIGGER defined.
by dan
· 13 years ago
omit-fixes
6d235cb
Fix a problem with resolving "db.view.column" references that appear in UPDATE or DELETE statements executed against views.
by dan
· 13 years ago
994ff6f
If SQLITE_OMIT_UTF16 is defined, avoid setting the 'enc' field of Schema objects to any value except SQLITE_UTF8. Otherwise, assert() statements may fail or spurious SQLITE_NOMEM errors may be returned at the vdbe level later on.
by dan
· 13 years ago
dbd4d5f
If SQLITE_OMIT_UTF16 is defined, avoid setting the 'enc' field of Schema objects to any value except SQLITE_UTF8. Otherwise, assert() statements may fail or spurious SQLITE_NOMEM errors may be returned at the vdbe level later on.
by dan
· 13 years ago
fe7a5d1
Fix the char() function so that it works even if SQLITE_OMIT_UTF16 is defined.
by drh
· 13 years ago
ef593f2
Fix two compilation issues, one warning and one error, that occur only when SQLITE_OMIT_UTF16 is defined.
by mistachkin
· 13 years ago
459f63e
Fix a bug (ticket [fc7bd6358f59]) that caused incorrect query results in
by drh
· 13 years ago
cfc1769
Fix an operator precedence problem on the [1d8086902e] check-in.
by drh
· 13 years ago
ex-robust-open
Next »