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

Issue 2963633002: Clarify SQlite threadsafety compile flags. (Closed)

Created:
3 years, 5 months ago by brettw
Modified:
3 years, 5 months ago
Reviewers:
sky
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Clarify SQlite threadsafety compile flags. The Chrome build was setting THREADSAFE=1 on sqlite. But sqlite does not use this flag (at least any more). The flag sqlite expects is SQLITE_THREADSAFE. The default is the most threadsafety which is then what we were getting. This patch makes that choice explicit. There should be no change in behavior since 1 is the default. The return value from sqlite3_threadsafe was verified to be the same (=1) both with and without this patch. Review-Url: https://codereview.chromium.org/2963633002 Cr-Commit-Position: refs/heads/master@{#482837} Committed: https://chromium.googlesource.com/chromium/src/+/1be4c8f7053d29f3dbc0f7d21d341c04d9e63acc

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -3 lines) Patch
M third_party/sqlite/BUILD.gn View 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (7 generated)
brettw
3 years, 5 months ago (2017-06-27 21:57:27 UTC) #2
sky
LGTM
3 years, 5 months ago (2017-06-27 22:10:26 UTC) #5
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/2963633002/1
3 years, 5 months ago (2017-06-27 22:20:14 UTC) #8
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 01:12:04 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/1be4c8f7053d29f3dbc0f7d21d34...

Powered by Google App Engine
This is Rietveld 408576698