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

Issue 1666473003: [sql] Remove misleading AutoRecoverTable() parameter. (Closed)

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

Description

[sql] Remove misleading AutoRecoverTable() parameter. |extend_columns| was intended to be used in the case where the target schema differed slightly from the schema of the table being recovered. Unfortunately, it actually implemented part of the solution for when the target has fewer columns and described it as the solution for when the target has more columns. Remove the unnecessary code and parameter. [In general, table schema only add new columns, removing is more infrequent.] BUG=none Committed: https://crrev.com/6f68bd3907164c404842a54b217fe048ebf80f93 Cr-Commit-Position: refs/heads/master@{#373586}

Patch Set 1 #

Patch Set 2 : Give me a night to think about it, and I'll make a pointless change. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -40 lines) Patch
M components/history/core/browser/thumbnail_database.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M components/history/core/browser/top_sites_database.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M sql/recovery.h View 2 chunks +3 lines, -6 lines 0 comments Download
M sql/recovery.cc View 2 chunks +0 lines, -9 lines 3 comments Download
M sql/recovery_unittest.cc View 1 9 chunks +30 lines, -19 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 17 (6 generated)
Scott Hess - ex-Googler
Give me a night to think about it, and I'll make a pointless change.
4 years, 10 months ago (2016-02-03 20:30:11 UTC) #1
Scott Hess - ex-Googler
Another tidbit. I meant to dump like three of them on you, but got distracted ...
4 years, 10 months ago (2016-02-03 20:36:18 UTC) #3
Ryan Hamilton
lgtm https://codereview.chromium.org/1666473003/diff/20001/sql/recovery.cc File sql/recovery.cc (left): https://codereview.chromium.org/1666473003/diff/20001/sql/recovery.cc#oldcode468 sql/recovery.cc:468: } On 2016/02/03 20:36:18, Scott Hess wrote: > ...
4 years, 10 months ago (2016-02-04 01:36:34 UTC) #4
Scott Hess - ex-Googler
thanks! https://codereview.chromium.org/1666473003/diff/20001/sql/recovery.cc File sql/recovery.cc (left): https://codereview.chromium.org/1666473003/diff/20001/sql/recovery.cc#oldcode468 sql/recovery.cc:468: } On 2016/02/04 01:36:34, Ryan Hamilton wrote: > ...
4 years, 10 months ago (2016-02-04 18:39:59 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1666473003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1666473003/20001
4 years, 10 months ago (2016-02-04 18:42:17 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/142686)
4 years, 10 months ago (2016-02-04 18:52:39 UTC) #9
Scott Hess - ex-Googler
sdefresne@ for OWNERS stamp. Change is trivial, removes a parameter which didn't actually accomplish anything.
4 years, 10 months ago (2016-02-04 19:01:22 UTC) #11
sdefresne
components lgtm
4 years, 10 months ago (2016-02-04 19:15:29 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1666473003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1666473003/20001
4 years, 10 months ago (2016-02-04 19:19:44 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-04 19:29:53 UTC) #15
commit-bot: I haz the power
4 years, 10 months ago (2016-02-04 19:30:53 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6f68bd3907164c404842a54b217fe048ebf80f93
Cr-Commit-Position: refs/heads/master@{#373586}

Powered by Google App Engine
This is Rietveld 408576698