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

Issue 1669453003: [sql] Clean up sql::Recovery unit test. (Closed)

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

Description

[sql] Clean up sql::Recovery unit test. Test baseline sql::Recovery::Rollback() operation. Change RecoveryCallback() to use AutoRecoverTable() rather than manual virtual table setup. Inject an artificial error to provoke callback in RecoverCorruptTable rather than calling manually. BUG=none Committed: https://crrev.com/6ac39546b2c45d8a9b06ba08a19811f5f224934c Cr-Commit-Position: refs/heads/master@{#373613}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -27 lines) Patch
M sql/recovery_unittest.cc View 9 chunks +48 lines, -27 lines 2 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 10 (3 generated)
Scott Hess - ex-Googler
Random testing changes from other CLs. I've put some time into getting the one corruption ...
4 years, 10 months ago (2016-02-03 22:14:46 UTC) #2
Scott Hess - ex-Googler
On 2016/02/03 22:14:46, Scott Hess wrote: > Random testing changes from other CLs. I've put ...
4 years, 10 months ago (2016-02-03 22:44:51 UTC) #3
Ryan Hamilton
LGTM, I think. With one suggestion. https://codereview.chromium.org/1669453003/diff/1/sql/recovery_unittest.cc File sql/recovery_unittest.cc (right): https://codereview.chromium.org/1669453003/diff/1/sql/recovery_unittest.cc#newcode176 sql/recovery_unittest.cc:176: #if !defined(USE_SYSTEM_SQLITE) Can ...
4 years, 10 months ago (2016-02-04 20:24:19 UTC) #4
Scott Hess - ex-Googler
https://codereview.chromium.org/1669453003/diff/1/sql/recovery_unittest.cc File sql/recovery_unittest.cc (right): https://codereview.chromium.org/1669453003/diff/1/sql/recovery_unittest.cc#newcode176 sql/recovery_unittest.cc:176: #if !defined(USE_SYSTEM_SQLITE) On 2016/02/04 20:24:19, Ryan Hamilton wrote: > ...
4 years, 10 months ago (2016-02-04 20:47:50 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1669453003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1669453003/1
4 years, 10 months ago (2016-02-04 20:48:39 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-02-04 20:56:32 UTC) #8
commit-bot: I haz the power
4 years, 10 months ago (2016-02-04 20:57:44 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/6ac39546b2c45d8a9b06ba08a19811f5f224934c
Cr-Commit-Position: refs/heads/master@{#373613}

Powered by Google App Engine
This is Rietveld 408576698