forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sql] Test mmap operation based on SQLite capabilities.
The mmap mitigation for bug 537742 meant that the test wasn't running in cases where mmap could potentially be enabled but wasn't enabled by default. Change the test to instead run when the platform allows SQLite mmap to be enabled. Add a test to verify that mmap cannot be enabled in cases where it is expected not to work, so that platforms must make an explicit decision about whether to allow mmap. BUG=537742, 554269 Review URL: https://codereview.chromium.org/1529693002 Cr-Commit-Position: refs/heads/master@{#365904}
- Loading branch information
Showing
2 changed files
with
104 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters