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

Issue 1473963002: [sql] Remove part of WebDatabase SQLite patch. (Closed)

Created:
5 years ago by Scott Hess - ex-Googler
Modified:
5 years ago
Reviewers:
michaeln, sof
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[sql] Remove part of WebDatabase SQLite patch. findReusableFd() calls stat() on the filename to determine the inode and device to figure out if a previously-closed file descriptor can be reused. Since WebDatabase file names are resolved by the browser, this stat() can never succeed in the renderer, thus there is no point to calling the function. This SQLite code path is an optimization to reduce close/open churn, it is not necessary for correct operation. BUG=none Committed: https://crrev.com/421491f00266f0c70cf3697de5565df31986f57f Cr-Commit-Position: refs/heads/master@{#361825}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -159 lines) Patch
M third_party/WebKit/Source/modules/webdatabase/sqlite/SQLiteFileSystemPosix.cpp View 2 chunks +5 lines, -12 lines 0 comments Download
M third_party/sqlite/amalgamation/sqlite3.h View 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/sqlite/amalgamation/sqlite3.c View 3 chunks +10 lines, -38 lines 0 comments Download
M third_party/sqlite/patches/0005-Modify-default-VFS-to-support-WebDatabase.patch View 10 chunks +15 lines, -66 lines 0 comments Download
M third_party/sqlite/src/src/os_unix.c View 2 chunks +10 lines, -33 lines 1 comment Download
M third_party/sqlite/src/src/sqlite.h.in View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
Scott Hess - ex-Googler
I was pulling my mythical vfs-over-base implementation out of mothballs, and in reviewing things TODO, ...
5 years ago (2015-11-25 19:14:55 UTC) #2
michaeln
lgtm!
5 years ago (2015-11-25 20:37:05 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1473963002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1473963002/1
5 years ago (2015-11-25 22:21:39 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) ios_rel_device_ninja on ...
5 years ago (2015-11-26 00:25:14 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1473963002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1473963002/1
5 years ago (2015-11-26 04:26:26 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-11-26 05:40:42 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/421491f00266f0c70cf3697de5565df31986f57f Cr-Commit-Position: refs/heads/master@{#361825}
5 years ago (2015-11-26 05:41:35 UTC) #12
sof
Created a revert of this one via https://codereview.chromium.org/1485603003/ (Rietveld's "revert patchset" option balked about "file ...
5 years ago (2015-11-30 09:45:13 UTC) #14
Scott Hess - ex-Googler
5 years ago (2015-11-30 22:21:12 UTC) #15
Message was sent while issue was closed.
On 2015/11/30 09:45:13, sof wrote:
> Created a revert of this one via https://codereview.chromium.org/1485603003/
> (Rietveld's "revert patchset" option balked about "file too large" (?) when
> attempting to revert via it, hence going the manual route.)

OK, I can repro the issues under asan.  The injected call always fails BUT it
always has side effects.  The existing flow of control is kind of derpy, I'll
look at patching things to have a single point of injection, but I'm not sure
that will be as satisfying.

Powered by Google App Engine
This is Rietveld 408576698