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

Issue 1083623003: Add a partial index to the SQLitePersistentCookieStore. (Closed)

Created:
5 years, 8 months ago by erikchen
Modified:
5 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, cbentzel+watch_chromium.org, jam, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a partial index to the SQLitePersistentCookieStore. This CL adds a partial index is_transient to the cookies DB. This CL also moves all the index creation operations into the database version migration, so that the existence of the other indices don't have to be checked on every startup. Partial indices are available in SQLite 3.8.0, and Chrome ships a branched version of 3.8.7.4. BUG= Committed: https://crrev.com/d2c42f584723689354b1874bdfaefb098f9ea70d Cr-Commit-Position: refs/heads/master@{#325592}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comments from erikwright. #

Patch Set 3 : Fix typo. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -26 lines) Patch
M content/browser/net/sqlite_persistent_cookie_store.cc View 1 2 4 chunks +67 lines, -26 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
erikchen
erikwright: Please review.
5 years, 8 months ago (2015-04-16 21:52:29 UTC) #2
erikwright (departed)
https://codereview.chromium.org/1083623003/diff/1/content/browser/net/sqlite_persistent_cookie_store.cc File content/browser/net/sqlite_persistent_cookie_store.cc (right): https://codereview.chromium.org/1083623003/diff/1/content/browser/net/sqlite_persistent_cookie_store.cc#newcode970 content/browser/net/sqlite_persistent_cookie_store.cc:970: if (!UpdateIndicesOnTable(db_.get())) { I don't know that this pattern ...
5 years, 8 months ago (2015-04-17 01:20:47 UTC) #3
erikchen
erikwright: PTAL https://codereview.chromium.org/1083623003/diff/1/content/browser/net/sqlite_persistent_cookie_store.cc File content/browser/net/sqlite_persistent_cookie_store.cc (right): https://codereview.chromium.org/1083623003/diff/1/content/browser/net/sqlite_persistent_cookie_store.cc#newcode970 content/browser/net/sqlite_persistent_cookie_store.cc:970: if (!UpdateIndicesOnTable(db_.get())) { On 2015/04/17 01:20:47, erikwright ...
5 years, 8 months ago (2015-04-17 01:34:47 UTC) #4
erikwright (departed)
LGTM
5 years, 8 months ago (2015-04-17 01:43:12 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1083623003/20001
5 years, 8 months ago (2015-04-17 01:50:23 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/57037)
5 years, 8 months ago (2015-04-17 02:01:22 UTC) #9
erikchen
isherman: Looking for an OWNER review of tools/metrics/histograms/histograms.xml
5 years, 8 months ago (2015-04-17 02:15:42 UTC) #11
Ilya Sherman
LGTM, but: Are these histograms actually used? If not, can you please remove them in ...
5 years, 8 months ago (2015-04-17 02:18:02 UTC) #12
erikchen
On 2015/04/17 02:18:02, Ilya Sherman wrote: > LGTM, but: Are these histograms actually used? If ...
5 years, 8 months ago (2015-04-17 02:18:58 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1083623003/40001
5 years, 8 months ago (2015-04-17 02:19:23 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 8 months ago (2015-04-17 03:33:46 UTC) #17
commit-bot: I haz the power
5 years, 8 months ago (2015-04-17 03:34:33 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d2c42f584723689354b1874bdfaefb098f9ea70d
Cr-Commit-Position: refs/heads/master@{#325592}

Powered by Google App Engine
This is Rietveld 408576698