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

Issue 2397753005: [sql] Allow storing mmap status in a VIEW instead of meta table. (Closed)

Created:
4 years, 2 months ago by Scott Hess - ex-Googler
Modified:
4 years, 1 month ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[sql] Allow storing mmap status in a VIEW instead of meta table. Some databases do not use the sql::MetaTable to handle versioning. The mmap verification pass uses the [meta] table to store progress for larger databases, and it uses detection of the [meta] table to distinguish new/empty databases from existing databases. For non-[meta] databases, store the status in an MmapStatus view. BUG=652359 Committed: https://crrev.com/a62504d228eedeed490044b79403a9de9eb8a4cb Cr-Commit-Position: refs/heads/master@{#430343}

Patch Set 1 #

Patch Set 2 : Oops - actually callto set the new storage. #

Patch Set 3 : rebase to get sync fix. #

Patch Set 4 : Rebase and cleanup #

Patch Set 5 : Debug iOS simulator results. #

Patch Set 6 : OK, its an older SQLite on iOS. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+197 lines, -48 lines) Patch
M chrome/browser/extensions/activity_log/activity_database.cc View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/predictors/predictor_database.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M components/sync/syncable/directory_backing_store.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/dom_storage/dom_storage_database.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M sql/connection.h View 1 2 3 7 chunks +23 lines, -6 lines 0 comments Download
M sql/connection.cc View 1 2 3 5 chunks +82 lines, -27 lines 0 comments Download
M sql/connection_unittest.cc View 1 2 3 4 5 3 chunks +84 lines, -3 lines 0 comments Download

Messages

Total messages: 39 (24 generated)
Scott Hess - ex-Googler
rebase to get sync fix.
4 years, 2 months ago (2016-10-21 20:45:42 UTC) #9
Scott Hess - ex-Googler
Rebase and cleanup
4 years, 1 month ago (2016-10-28 23:16:43 UTC) #14
Scott Hess - ex-Googler
Debug iOS simulator results.
4 years, 1 month ago (2016-10-31 18:09:32 UTC) #19
Scott Hess - ex-Googler
OK, its an older SQLite on iOS.
4 years, 1 month ago (2016-10-31 19:24:57 UTC) #20
Scott Hess - ex-Googler
Hey, looks like it's working for everyone just now. Let's check it in!
4 years, 1 month ago (2016-11-01 20:53:25 UTC) #26
DmitrySkiba
LGTM!
4 years, 1 month ago (2016-11-03 19:54:01 UTC) #27
Scott Hess - ex-Googler
OWNERS: rdevlin.cronin@chromium.org for activity_database.cc pasko@chromium.org for predictor_database.cc pavely@chromium.org for directory_backing_store.cc michaeln@chromium.org for dom_storage_database.cc Not going ...
4 years, 1 month ago (2016-11-03 21:50:45 UTC) #29
pavely
components/sync/syncable/directory_backing_store.cc lgtm
4 years, 1 month ago (2016-11-03 23:34:19 UTC) #30
pasko
chrome/browser/predictors lgtm FWIW, we can switch to use the sql::MetaTable for database versioning, if additional ...
4 years, 1 month ago (2016-11-04 14:12:02 UTC) #31
Scott Hess - ex-Googler
On 2016/11/04 14:12:02, pasko wrote: > chrome/browser/predictors lgtm > > FWIW, we can switch to ...
4 years, 1 month ago (2016-11-04 18:04:56 UTC) #32
Devlin
extensions lgtm
4 years, 1 month ago (2016-11-04 19:27:36 UTC) #33
michaeln
r/s lgtm
4 years, 1 month ago (2016-11-04 22:59:02 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2397753005/100001
4 years, 1 month ago (2016-11-07 18:22:57 UTC) #36
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 1 month ago (2016-11-07 19:26:50 UTC) #37
commit-bot: I haz the power
4 years, 1 month ago (2016-11-07 19:35:17 UTC) #39
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a62504d228eedeed490044b79403a9de9eb8a4cb
Cr-Commit-Position: refs/heads/master@{#430343}

Powered by Google App Engine
This is Rietveld 408576698