/ All files named "test/mmap1.test"
Login

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

History for test/mmap1.test

2018-09-07
11:51
[fb04e0c1] part of check-in [1a8aedc3] Minor fixes for problems revealed by releasetest.tcl. (check-in: [1a8aedc3] user: dan branch: trunk, size: 8806)
2018-07-22
06:25
[9f812fe1] part of check-in [21510a66] In the Win32 VFS, when truncating a file, unmap it first. (check-in: [21510a66] user: mistachkin branch: trunk, size: 8778)
2016-03-14
18:34
[d2cfc163] part of check-in [99b9d7ee] Many more test cases fixed. Only a few remain. (check-in: [99b9d7ee] user: drh branch: see-testing, size: 8061)
2016-02-04
17:31
[44a5ff1c] part of check-in [f465944b] Avoid running some particularly time-consuming tests as part of veryquick.test. (check-in: [f465944b] user: dan branch: trunk, size: 7980)
2014-11-04
19:52
[1bfd611b] part of check-in [6fc4ead2] Skip tests that require WAL mode when it is not enabled. (check-in: [6fc4ead2] user: mistachkin branch: winMmapNoWal, size: 9167)
2013-05-17
12:25
[93d167b3] part of check-in [cec0a06c] Add extra "PRAGMA mmap_size = N" statements to mmap1.test and mmap2.test. (check-in: [cec0a06c] user: dan branch: trunk, size: 9087)
2013-05-16
14:28
[25db81f0] part of check-in [e97d744b] Several releasetest.tcl related fixes to test cases. No code changes. (check-in: [e97d744b] user: dan branch: trunk, size: 8964)
2013-04-29
09:17
[8696aa1b] part of check-in [52417eac] Fix mmap1.test so that it passes on windows as well as unix. (check-in: [52417eac] user: dan branch: trunk, size: 8816)
2013-04-15
17:03
[0b5802cf] part of check-in [ea1404a1] 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: [ea1404a1] user: drh branch: trunk, size: 8507)
2013-04-08
20:47
[f064a902] part of check-in [8a4314a3] 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: [8a4314a3] user: drh branch: trunk, size: 8526)
2013-04-04
19:32
[146a755b] part of check-in [a107f75d] Add further multi-client tests to mmap1.test. (check-in: [a107f75d] user: dan branch: trunk, size: 8485)
2013-04-03
13:09
[df5105f0] part of check-in [2d9f1327] 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: [2d9f1327] user: drh branch: experimental-mmap, size: 6904)
11:38
[5a662d50] part of check-in [9d9b1da5] 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: [9d9b1da5] user: dan branch: experimental-mmap, size: 6895)
11:17
[9f4cee08] part of check-in [3f09fba1] 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: [3f09fba1] user: dan branch: experimental-mmap, size: 5939)
2013-04-02
20:29
[95f8f90b] part of check-in [ee8d3cee] Adjustments to mmap1.test so that it works better on windows. It still gets some answers wrong, but it no longer crashes. (check-in: [ee8d3cee] user: drh branch: experimental-mmap, size: 4830)
18:33
[245eb4a6] part of check-in [3050136b] Add test cases to mmap1.test and pagerfault.test. (check-in: [3050136b] user: dan branch: experimental-mmap, size: 4733)
2013-03-25
23:09
[9fb71daa] part of check-in [1b37c4ef] 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: [1b37c4ef] user: drh branch: experimental-mmap, size: 4136)
2013-03-23
14:20
[e3391ef6] part of check-in [8dbe89d0] Fix a case where a checkpoint operation could write to an invalid part of a memory mapped region. (check-in: [8dbe89d0] user: dan branch: experimental-mmap, size: 4101)
2013-03-20
10:07
Added: [46ff4038] part of check-in [aee1f53a] Add test file mmap1.test. (check-in: [aee1f53a] user: dan branch: experimental-mmap, size: 2663)