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

Issue 1381563003: [sql] Check for open db before releasing cache. (Closed)

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

Description

Superceeded by https://codereview.chromium.org/1382283003 [sql] Check for open db before releasing cache. BUG=537636, 489784

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -2 lines) Patch
M sql/connection.cc View 2 chunks +6 lines, -2 lines 1 comment Download

Messages

Total messages: 10 (4 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1381563003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1381563003/1
5 years, 2 months ago (2015-09-30 17:12:04 UTC) #2
Scott Hess - ex-Googler
I verified this by simulating a failure in login_database.cc (to match the newer bug's crash), ...
5 years, 2 months ago (2015-09-30 17:13:54 UTC) #4
Scott Hess - ex-Googler
https://codereview.chromium.org/1381563003/diff/1/sql/connection.cc File sql/connection.cc (right): https://codereview.chromium.org/1381563003/diff/1/sql/connection.cc#newcode530 sql/connection.cc:530: I didn't put: if (!is_open()) return; here because it ...
5 years, 2 months ago (2015-09-30 17:25:04 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-30 18:15:45 UTC) #7
Scott Hess - ex-Googler
BTW - my original change got reverted because of a thread-safety problem in a unit ...
5 years, 2 months ago (2015-09-30 22:56:24 UTC) #8
rmcilroy
5 years, 2 months ago (2015-10-01 10:48:37 UTC) #9
On 2015/09/30 22:56:24, Scott Hess wrote:
> BTW - my original change got reverted because of a thread-safety problem in a
> unit test.  So I'll slipstream this when relanding AGAIN, and of course you'll
> get to look at that one...

OK, I'll take a look in the reland.

Powered by Google App Engine
This is Rietveld 408576698