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

Issue 2623083002: [sql] Move time-machine support from third_party/sqlite to sql/ (Closed)

Created:
3 years, 11 months ago by Scott Hess - ex-Googler
Modified:
3 years, 11 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[sql] Move time-machine support from third_party/sqlite to sql/ Chromium's SQLite was modified to propagate OSX Time-Machine exclusions from the main database file to any associated journal files. Re-implement this using a VFS which wraps the default VFS and makes the check when opening journal files. BUG=679941 Review-Url: https://codereview.chromium.org/2623083002 Cr-Commit-Position: refs/heads/master@{#445601} Committed: https://chromium.googlesource.com/chromium/src/+/5f2c344add2637d85bcf0370fe5eb882249d77f3

Patch Set 1 #

Patch Set 2 : iOS and Windows fixes. #

Patch Set 3 : yes OSX, no IOS? #

Patch Set 4 : OMG iOS #

Patch Set 5 : disable TimeMachine test, sigh #

Total comments: 12

Patch Set 6 : review comments. #

Total comments: 4

Patch Set 7 : sigh, should pay more attention next time. #

Patch Set 8 : maybe I should stopping working on two things at once #

Patch Set 9 : scoped-ref in test, too, iwyu pass to remove leftover-from-prototype includes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+552 lines, -253 lines) Patch
M sql/BUILD.gn View 1 2 3 2 chunks +10 lines, -0 lines 0 comments Download
M sql/connection.cc View 1 2 3 4 5 6 7 2 chunks +7 lines, -1 line 0 comments Download
M sql/sqlite_features_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +58 lines, -0 lines 0 comments Download
A sql/vfs_wrapper.h View 1 chunk +23 lines, -0 lines 0 comments Download
A sql/vfs_wrapper.cc View 1 2 3 4 5 6 7 8 1 chunk +447 lines, -0 lines 0 comments Download
M third_party/sqlite/amalgamation/sqlite3.c View 6 chunks +3 lines, -45 lines 0 comments Download
D third_party/sqlite/patches/0003-Exclude-journal-file-from-Time-Machine-if-database-i.patch View 1 chunk +0 lines, -157 lines 0 comments Download
M third_party/sqlite/src/Makefile.linux-gcc View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/sqlite/src/ext/fts3/fts3_porter.c View 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/sqlite/src/main.mk View 1 chunk +1 line, -1 line 0 comments Download
M third_party/sqlite/src/src/pager.c View 2 chunks +0 lines, -32 lines 0 comments Download
M third_party/sqlite/src/src/sqliteInt.h View 1 chunk +0 lines, -10 lines 0 comments Download

Messages

Total messages: 52 (36 generated)
Scott Hess - ex-Googler
iOS and Windows fixes.
3 years, 11 months ago (2017-01-11 08:48:05 UTC) #5
Scott Hess - ex-Googler
yes OSX, no IOS?
3 years, 11 months ago (2017-01-11 17:50:47 UTC) #10
Scott Hess - ex-Googler
OMG iOS
3 years, 11 months ago (2017-01-11 20:08:06 UTC) #15
Scott Hess - ex-Googler
disable TimeMachine test, sigh
3 years, 11 months ago (2017-01-17 21:20:53 UTC) #27
Scott Hess - ex-Googler
Reviewer chosen via random CL listings within people under jsbell :-). The new test is ...
3 years, 11 months ago (2017-01-17 21:28:20 UTC) #31
Scott Hess - ex-Googler
Ping? History: http://crbug.com/14545 , http://crbug.com/25959, http://crbug.com/74053 , others. The gist of it is that OSX ...
3 years, 11 months ago (2017-01-20 22:39:14 UTC) #34
Marijn Kruisselbrink
Sorry for the delay in reviewing this, just some minor nits. It is rather unfortunate ...
3 years, 11 months ago (2017-01-23 19:20:22 UTC) #35
Scott Hess - ex-Googler
review comments.
3 years, 11 months ago (2017-01-23 21:10:50 UTC) #36
Scott Hess - ex-Googler
On 2017/01/23 19:20:22, Marijn Kruisselbrink wrote: > Sorry for the delay in reviewing this, just ...
3 years, 11 months ago (2017-01-23 21:18:52 UTC) #37
Marijn Kruisselbrink
lgtm https://codereview.chromium.org/2623083002/diff/100001/sql/connection.cc File sql/connection.cc (right): https://codereview.chromium.org/2623083002/diff/100001/sql/connection.cc#newcode1696 sql/connection.cc:1696: const char* vfs_name = (vfs ? vfs->zName : ...
3 years, 11 months ago (2017-01-23 23:32:46 UTC) #42
Scott Hess - ex-Googler
sigh, should pay more attention next time.
3 years, 11 months ago (2017-01-23 23:45:42 UTC) #43
Scott Hess - ex-Googler
thanks, sorry for being distracted wrt obvious obviousness. https://codereview.chromium.org/2623083002/diff/100001/sql/connection.cc File sql/connection.cc (right): https://codereview.chromium.org/2623083002/diff/100001/sql/connection.cc#newcode1696 sql/connection.cc:1696: const ...
3 years, 11 months ago (2017-01-23 23:47:06 UTC) #44
Scott Hess - ex-Googler
maybe I should stopping working on two things at once
3 years, 11 months ago (2017-01-23 23:49:05 UTC) #45
Scott Hess - ex-Googler
scoped-ref in test, too, iwyu pass to remove leftover-from-prototype includes.
3 years, 11 months ago (2017-01-23 23:57:30 UTC) #46
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/2623083002/160001
3 years, 11 months ago (2017-01-23 23:59:23 UTC) #49
commit-bot: I haz the power
3 years, 11 months ago (2017-01-24 02:16:11 UTC) #52
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/chromium/src/+/5f2c344add2637d85bcf0370fe5e...

Powered by Google App Engine
This is Rietveld 408576698