forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove config setters from sql/database.h
Most of the setters for configuration options for a SQLite database only worked before the database was opened and were no-ops otherwise. This led to confusing semantics and needing to support unnatural behaviour in other parts of sql/ code. This change removes the setters for the database config now encapsulated in the DatabaseOptions struct. This struct is only set once as part of a new constructor. All feature code has already been migrated to use the new constructor instead of the setter methods. Bug: 1126968 Change-Id: I13474fbb87c7f2da386e83fb8d1fe3d8c44ab963 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2627941 Commit-Queue: Shubham Aggarwal <shuagga@microsoft.com> Reviewed-by: Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#848097}
- Loading branch information
Shubham Aggarwal
authored and
Chromium LUCI CQ
committed
Jan 28, 2021
1 parent
c80c885
commit b30a0ce
Showing
1 changed file
with
22 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters