Chromium Code Reviews
Help | Chromium Project | Sign in
(101)

Issue 3239006: Fix credit card table migration step. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
4 years, 9 months ago by Miranda Callahan
Modified:
4 years ago
Reviewers:
sky
CC:
chromium-reviews, ben+cc_chromium.org
Visibility:
Public.

Description

Fix credit card table migration step by ensuring that we're not trying to add a column which is already present. If we create a table as part of the init process, don't try to alter the table, because it already exists. BUG=10913 TEST= search engine dialog works, search engines don't disappear. SPECIFICALLY: create a profile (user data dir, etc.) using a build from *before* r37036 on trunk. Add search engines to the profile. Then run the newest version of Chrome, using the same profile. Search engines should not go away. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=57902

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : .h file forgotten #

Patch Set 5 : tweaks #

Total comments: 4

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -18 lines) Patch
M chrome/browser/webdata/web_database.h View 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/webdata/web_database.cc View 1 2 3 4 5 5 chunks +22 lines, -16 lines 0 comments Download
Commit: CQ not working?

Messages

Total messages: 6 (0 generated)
Miranda Callahan
4 years, 9 months ago (2010-08-30 16:05:34 UTC) #1
sky
http://codereview.chromium.org/3239006/diff/6001/7001 File chrome/browser/webdata/web_database.cc (right): http://codereview.chromium.org/3239006/diff/6001/7001#newcode397 chrome/browser/webdata/web_database.cc:397: : credit_cards_table_created_(false) { Can we make this a local ...
4 years, 9 months ago (2010-08-30 16:09:30 UTC) #2
Miranda Callahan
Unit test coming when I can think straight. Thanks for all your help! http://codereview.chromium.org/3239006/diff/6001/7001 File ...
4 years, 9 months ago (2010-08-30 20:21:07 UTC) #3
sky
LGTM with the following changes. http://codereview.chromium.org/3239006/diff/9002/16001 File chrome/browser/webdata/web_database.cc (right): http://codereview.chromium.org/3239006/diff/9002/16001#newcode781 chrome/browser/webdata/web_database.cc:781: } else { There's ...
4 years, 9 months ago (2010-08-30 20:28:15 UTC) #4
Miranda Callahan
Scott, I know you LGTMed, but please look again because I don't trust my tired ...
4 years, 9 months ago (2010-08-30 20:41:39 UTC) #5
sky
4 years, 9 months ago (2010-08-30 20:47:51 UTC) #6
LGTM
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld ec887be