forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: Disable trigger execution for sql::Database users.
The use of SQLite triggers is discouraged in Chrome feature code. This CL disables trigger execution from databases that use sql::Database infrastructure -- this applies to all Chrome feature code, but not to WebSQL, which uses its own SQLite abstraction. CREATE TRIGGER and DROP TRIGGER will still work, but the triggers will not be executed. Disabling trigger execution in Chrome features is the best we can do for now, because WebSQL still needs SQLite support for triggers. After we remove WebSQL, we can remove all trigger support from SQLite. Bug: 910955 Change-Id: I1f994c67341e44253f1f78188a1eaa7c4d966f88 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3020167 Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Auto-Submit: Victor Costan <pwnall@chromium.org> Reviewed-by: Marijn Kruisselbrink <mek@chromium.org> Cr-Commit-Position: refs/heads/master@{#900805}
- Loading branch information
Showing
4 changed files
with
32 additions
and
14 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
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
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
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