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

Issue 2274883003: [sql] Track SQLite error codes from sql::Recovery ATTACH. (Closed)

Created:
4 years, 4 months ago by Scott Hess - ex-Googler
Modified:
4 years, 3 months ago
Reviewers:
michaeln, Ilya Sherman
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[sql] Track SQLite error codes from sql::Recovery ATTACH. The major reason for sql::Recover::Begin() to fail is in the statement attaching the original database to the recovery database. I believe this is because of SQLITE_NOTADB. This is to verify that hypothesis. If the hypothesis is true, then the best course of action is to Raze() the database, as SQLITE_NOTADB means that some or all of the SQLite header data appears to be garbage. BUG=597785 R=michaeln@chromium.org Committed: https://crrev.com/631881144b032483cd60b26e054539fd819b6713 Cr-Commit-Position: refs/heads/master@{#414885}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -0 lines) Patch
M sql/recovery.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M sql/recovery_unittest.cc View 2 chunks +35 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
Scott Hess - ex-Googler
OK, looks like many trybots are happy with this...
4 years, 4 months ago (2016-08-25 00:43:48 UTC) #4
michaeln
lgtm
4 years, 3 months ago (2016-08-25 21:59:27 UTC) #7
Scott Hess - ex-Googler
+Ilya for histograms.xml.
4 years, 3 months ago (2016-08-26 15:10:53 UTC) #9
Ilya Sherman
metrics lgtm
4 years, 3 months ago (2016-08-26 21:45:04 UTC) #10
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/2274883003/1
4 years, 3 months ago (2016-08-26 23:49:31 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-08-27 10:27:08 UTC) #14
commit-bot: I haz the power
4 years, 3 months ago (2016-08-27 10:28:55 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/631881144b032483cd60b26e054539fd819b6713
Cr-Commit-Position: refs/heads/master@{#414885}

Powered by Google App Engine
This is Rietveld 408576698