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

Issue 2620053002: predictors: db tool workaround to solve sqlite3 compatibility problem. (Closed)

Created:
3 years, 11 months ago by alexilin
Modified:
3 years, 11 months ago
Reviewers:
Benoit L
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

predictors: db tool workaround to solve sqlite3 compatibility problem. Current version of python sqilte3 library hasn't support of views. But new sqlite3 binary used in chrome implicitly creates MmapStatus view everytime that causes incompatibility problem. This workaround creates a temporary copy of given database and deletes the view through sqlite3 command line tool that has support of views. BUG=631966 Review-Url: https://codereview.chromium.org/2620053002 Cr-Commit-Position: refs/heads/master@{#442945} Committed: https://chromium.googlesource.com/chromium/src/+/37127ecd00687cd497d8ef19067eede1c70dfd76

Patch Set 1 #

Total comments: 6

Patch Set 2 : Iterate. #

Patch Set 3 : Remove debug print. #

Patch Set 4 : Fix mess. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -1 line) Patch
M tools/resource_prefetch_predictor/prefetch_predictor_tool.py View 1 2 3 3 chunks +16 lines, -1 line 0 comments Download

Messages

Total messages: 11 (4 generated)
alexilin
3 years, 11 months ago (2017-01-10 18:22:50 UTC) #2
Benoit L
https://codereview.chromium.org/2620053002/diff/1/tools/resource_prefetch_predictor/prefetch_predictor_tool.py File tools/resource_prefetch_predictor/prefetch_predictor_tool.py (right): https://codereview.chromium.org/2620053002/diff/1/tools/resource_prefetch_predictor/prefetch_predictor_tool.py#newcode81 tools/resource_prefetch_predictor/prefetch_predictor_tool.py:81: # The current version of python sqilte3 library doesn't ...
3 years, 11 months ago (2017-01-11 09:36:45 UTC) #3
alexilin
https://codereview.chromium.org/2620053002/diff/1/tools/resource_prefetch_predictor/prefetch_predictor_tool.py File tools/resource_prefetch_predictor/prefetch_predictor_tool.py (right): https://codereview.chromium.org/2620053002/diff/1/tools/resource_prefetch_predictor/prefetch_predictor_tool.py#newcode81 tools/resource_prefetch_predictor/prefetch_predictor_tool.py:81: # The current version of python sqilte3 library doesn't ...
3 years, 11 months ago (2017-01-11 12:39:07 UTC) #4
alexilin
It seems like I didn't sleep well last night :(
3 years, 11 months ago (2017-01-11 12:48:05 UTC) #5
Benoit L
On 2017/01/11 12:48:05, alexilin wrote: > It seems like I didn't sleep well last night ...
3 years, 11 months ago (2017-01-11 16:23:59 UTC) #6
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/2620053002/60001
3 years, 11 months ago (2017-01-11 17:22:36 UTC) #8
commit-bot: I haz the power
3 years, 11 months ago (2017-01-11 17:37:38 UTC) #11
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/37127ecd00687cd497d8ef19067e...

Powered by Google App Engine
This is Rietveld 408576698