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

Issue 2428383009: [sql] Verify that recover works for multiple page sizes. (Closed)

Created:
4 years, 2 months ago by Scott Hess - ex-Googler
Modified:
4 years, 1 month ago
Reviewers:
michaeln
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[sql] Verify that recover works for multiple page sizes. Verify that sql::Recovery maintains the page size if set_page_size() was called on the database. Also verify that sql::Recovery uses the SQLite default page size if no page size was explicitly set. BUG=none Committed: https://crrev.com/0b8d5932c4589d097737a3d3f1a660b61621bbc6 Cr-Commit-Position: refs/heads/master@{#428117}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Split out a test helper. #

Total comments: 2

Patch Set 3 : Switch to EXPECT_NO_FATAL_FAILURE() for context. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -0 lines) Patch
M sql/recovery_unittest.cc View 1 2 1 chunk +71 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 23 (12 generated)
Scott Hess - ex-Googler
Another found git branch, this one initiated by a sqlite-users thread about a change to ...
4 years, 2 months ago (2016-10-21 22:02:21 UTC) #4
michaeln
lgtm https://codereview.chromium.org/2428383009/diff/1/sql/recovery_unittest.cc File sql/recovery_unittest.cc (right): https://codereview.chromium.org/2428383009/diff/1/sql/recovery_unittest.cc#newcode877 sql/recovery_unittest.cc:877: // Many clients use 4k pages. This is ...
4 years, 1 month ago (2016-10-25 00:12:27 UTC) #7
Scott Hess - ex-Googler
Split out a test helper.
4 years, 1 month ago (2016-10-26 23:34:58 UTC) #8
Scott Hess - ex-Googler
https://codereview.chromium.org/2428383009/diff/1/sql/recovery_unittest.cc File sql/recovery_unittest.cc (right): https://codereview.chromium.org/2428383009/diff/1/sql/recovery_unittest.cc#newcode877 sql/recovery_unittest.cc:877: // Many clients use 4k pages. This is the ...
4 years, 1 month ago (2016-10-26 23:37:38 UTC) #11
michaeln
still lgtm https://codereview.chromium.org/2428383009/diff/20001/sql/recovery_unittest.cc File sql/recovery_unittest.cc (right): https://codereview.chromium.org/2428383009/diff/20001/sql/recovery_unittest.cc#newcode898 sql/recovery_unittest.cc:898: // The database should have the default ...
4 years, 1 month ago (2016-10-27 00:02:29 UTC) #14
Scott Hess - ex-Googler
Switch to EXPECT_NO_FATAL_FAILURE() for context.
4 years, 1 month ago (2016-10-27 19:12:31 UTC) #15
Scott Hess - ex-Googler
Thanks! I'm modifying the Raze() version of this along the same lines. https://codereview.chromium.org/2428383009/diff/20001/sql/recovery_unittest.cc File sql/recovery_unittest.cc ...
4 years, 1 month ago (2016-10-27 19:14:58 UTC) #16
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/2428383009/40001
4 years, 1 month ago (2016-10-27 19:15:35 UTC) #19
michaeln
On 2016/10/27 19:14:58, Scott Hess wrote: > Thanks! I'm modifying the Raze() version of this ...
4 years, 1 month ago (2016-10-27 19:34:26 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-10-27 19:54:37 UTC) #21
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 20:00:20 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0b8d5932c4589d097737a3d3f1a660b61621bbc6
Cr-Commit-Position: refs/heads/master@{#428117}

Powered by Google App Engine
This is Rietveld 408576698