Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Issue 1529693002: [sql] Test mmap operation based on SQLite capabilities. (Closed)

Created:
5 years ago by Scott Hess - ex-Googler
Modified:
5 years ago
Reviewers:
Elliot Glaysher
CC:
chromium-reviews, vichang1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[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 Committed: https://crrev.com/53adf16ef292bc721a65b47628b1a3008b502363 Cr-Commit-Position: refs/heads/master@{#365904}

Patch Set 1 #

Patch Set 2 : tweak comments. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+104 lines, -80 lines) Patch
M sql/connection_unittest.cc View 2 chunks +0 lines, -80 lines 0 comments Download
M sql/sqlite_features_unittest.cc View 1 2 chunks +104 lines, -0 lines 1 comment Download

Messages

Total messages: 15 (6 generated)
Scott Hess - ex-Googler
vichang@, with this change setting SQLITE_MAX_MMAP_SIZE=0 in sqlite.gyp (and corresponding BUILD.gn) will do the right ...
5 years ago (2015-12-15 19:05:46 UTC) #2
vichang1
On 2015/12/15 19:05:46, Scott Hess wrote: > vichang@, with this change setting SQLITE_MAX_MMAP_SIZE=0 in sqlite.gyp ...
5 years ago (2015-12-16 03:16:04 UTC) #3
Scott Hess - ex-Googler
On 2015/12/16 03:16:04, vichang1 wrote: > One question. In which part of release/daily process does ...
5 years ago (2015-12-16 06:56:18 UTC) #4
Scott Hess - ex-Googler
On 2015/12/16 03:16:04, vichang1 wrote: > Thanks for notifying me. I believe someone else should ...
5 years ago (2015-12-16 06:57:31 UTC) #5
Elliot Glaysher
lgtm
5 years ago (2015-12-17 21:15:49 UTC) #8
Scott Hess - ex-Googler
On 2015/12/17 21:15:49, Elliot Glaysher wrote: > lgtm Thanks!
5 years ago (2015-12-17 21:19:51 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1529693002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1529693002/20001
5 years ago (2015-12-17 21:21:29 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-17 22:07:33 UTC) #13
commit-bot: I haz the power
5 years ago (2015-12-17 22:08:17 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/53adf16ef292bc721a65b47628b1a3008b502363
Cr-Commit-Position: refs/heads/master@{#365904}

Powered by Google App Engine
This is Rietveld 408576698