SQLite

All files named ”test/mmap1.test”
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History for test/mmap1.test

2024-01-23
21:10
[18de3fd7b7] part of check-in [5cf9ea9b1f] Slight adjustment to test results for Windows in mmap1.test due to the previous check-in. (check-in: [5cf9ea9b1f] user: drh branch: trunk, size: 8830)
16:09
[e154d0442c] part of check-in [2684feac3b] In os_unix.c and os_win.c, do not allow xFetch() to return a pointer to a page buffer that is right at the end of the mapped region - if the database is corrupted in a specific way such a page buffer might be overread by several bytes. (check-in: [2684feac3b] user: dan branch: trunk, size: 8818)
2021-11-08
19:35
[5c1f768828] part of check-in [bc401a75dd] Fix the zeroblob() function and related APIs so that they work with SQLITE_OMIT_INCRBLOB builds. (check-in: [bc401a75dd] user: dan branch: trunk, size: 8817)
2018-09-07
11:51
[fb04e0c104] part of check-in [1a8aedc337] Minor fixes for problems revealed by releasetest.tcl. (check-in: [1a8aedc337] user: dan branch: trunk, size: 8806)
2018-07-22
06:25
[9f812fe146] part of check-in [21510a66dc] In the Win32 VFS, when truncating a file, unmap it first. (check-in: [21510a66dc] user: mistachkin branch: trunk, size: 8778)
2016-03-14
18:34
[d2cfc16351] part of check-in [99b9d7eef6] Many more test cases fixed. Only a few remain. (check-in: [99b9d7eef6] user: drh branch: see-testing, size: 8061)
2016-02-04
17:31
[44a5ff1c1b] part of check-in [f465944b75] Avoid running some particularly time-consuming tests as part of veryquick.test. (check-in: [f465944b75] user: dan branch: trunk, size: 7980)
2014-11-04
19:52
[1bfd611b98] part of check-in [6fc4ead26d] Skip tests that require WAL mode when it is not enabled. (check-in: [6fc4ead26d] user: mistachkin branch: winMmapNoWal, size: 9167)
2013-05-17
12:25
[93d167b328] part of check-in [cec0a06c17] Add extra "PRAGMA mmap_size = N" statements to mmap1.test and mmap2.test. (check-in: [cec0a06c17] user: dan branch: trunk, size: 9087)
2013-05-16
14:28
[25db81f014] part of check-in [e97d744ba1] Several releasetest.tcl related fixes to test cases. No code changes. (check-in: [e97d744ba1] user: dan branch: trunk, size: 8964)
2013-04-29
09:17
[8696aa1b0b] part of check-in [52417eac3e] Fix mmap1.test so that it passes on windows as well as unix. (check-in: [52417eac3e] user: dan branch: trunk, size: 8816)
2013-04-15
17:03
[0b5802cf64] part of check-in [ea1404a10a] Refactoring the mmap interface. The controlling pragma is now "mmap_size" instead of "mmap_limit". Also change SQLITE_CONFIG_MMAP_LIMIT and SQLITE_FCNTL_MMAP_LIMIT to SQLITE_CONFIG_MMAP_SIZE and SQLITE_FCNTL_MMAP_SIZE, respecctively. The default mmap_size is now always 0, meaning that memory mapped I/O is off by default. There is a new compile-time option SQLITE_MAX_MMAP_SIZE that determines a hard upper bound on the mmap_size. Setting SQLITE_MAX_MMAP_SIZE to zero disables the memory-mapped I/O logic and causes it to be omitted from the build. An extra argument is added to SQLITE_CONFIG_MMAP_SIZE that can optionally lower the SQLITE_MAX_MMAP_SIZE at start-time. The SQLITE_MAX_MMAP_SIZE is zero for platforms where we know that it does not work, meaning that it cannot be turned on by mistake on those platforms. (check-in: [ea1404a10a] user: drh branch: trunk, size: 8507)
2013-04-08
20:47
[f064a90251] part of check-in [8a4314a398] Disable the use of memory-mapped I/O if the SQLITE_DISABLE_MMAP macro is defined. Automatically define this macro for OpenBSD and QNX. Other systems are likely to be added to the disabled list over time. (check-in: [8a4314a398] user: drh branch: trunk, size: 8526)
2013-04-04
19:32
[146a755bb3] part of check-in [a107f75d93] Add further multi-client tests to mmap1.test. (check-in: [a107f75d93] user: dan branch: trunk, size: 8485)
2013-04-03
13:09
[df5105f08e] part of check-in [2d9f1327fe] Change the mmap_limit pragma to report the new limit, or to report the existing limit if called with no arguments. Report the default mmap_limit as part of PRAGMA compile_options. Set the default mmmap_limit to 0 for all systems other than linux, mac, windows, and solaris. (check-in: [2d9f1327fe] user: drh branch: experimental-mmap, size: 6904)
11:38
[5a662d506c] part of check-in [9d9b1da54a] 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. (check-in: [9d9b1da54a] user: dan branch: experimental-mmap, size: 6895)
11:17
[9f4cee0877] part of check-in [3f09fba18f] 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. (check-in: [3f09fba18f] user: dan branch: experimental-mmap, size: 5939)
2013-04-02
20:29
[95f8f90b7f] part of check-in [ee8d3ceeec] Adjustments to mmap1.test so that it works better on windows. It still gets some answers wrong, but it no longer crashes. (check-in: [ee8d3ceeec] user: drh branch: experimental-mmap, size: 4830)
18:33
[245eb4a628] part of check-in [3050136be9] Add test cases to mmap1.test and pagerfault.test. (check-in: [3050136be9] user: dan branch: experimental-mmap, size: 4733)
2013-03-25
23:09
[9fb71daaca] part of check-in [1b37c4effd] Memory-mapped I/O is now on by default. The "PRAGMA mmap_limit(N)" can be used to issue a hint to the VFS to limit mmap space to N bytes. The VFS is free to ignore that hint if desired. However, if "PRAGMA mmap_limit(0)" is used, xFetch is never called. (check-in: [1b37c4effd] user: drh branch: experimental-mmap, size: 4136)
2013-03-23
14:20
[e3391ef6c0] part of check-in [8dbe89d05c] Fix a case where a checkpoint operation could write to an invalid part of a memory mapped region. (check-in: [8dbe89d05c] user: dan branch: experimental-mmap, size: 4101)
2013-03-20
10:07
Added: [46ff4038b6] part of check-in [aee1f53a74] Add test file mmap1.test. (check-in: [aee1f53a74] user: dan branch: experimental-mmap, size: 2663)