commit | 7c234825d7e901178f2039113f9b3f294165ca52 | [log] [tgz] |
---|---|---|
author | Victor Costan <pwnall@chromium.org> | Tue Jul 13 03:03:02 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 13 03:03:02 2021 |
tree | 180e111bd0f8adf6dabe4b0228a7c68bef730463 | |
parent | 011dace2239718f7a3f2e3830ec5db0c1bf3d5b0 [diff] |
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}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.