commit | ceb7a8acc9a35acb8961a8161f99b4c18ba8d70a | [log] [tgz] |
---|---|---|
author | Anthony Vallée-Dubois <anthonyvd@google.com> | Fri Nov 29 21:33:47 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Nov 29 21:33:47 2024 |
tree | 70a7fee98c638d4da5e4063b8464b3f4403ecb65 | |
parent | 5f6928c30bf7308663567bfcf04502d1a4b4f2bd [diff] |
Expand SQL statements in traces when SQLite tracing is on sqlite3_expanded_sql returns the prepared statement with values for the bound parameters included. This is useful for debugging, but the function always returns NULL if SQLite tracing is disabled via SQLITE_OMIT_TRACE, which we do set in third_party/sqlite/sqlite_chromium_configuration_flags.gni. This CL optionally expands the statements in trace events when SQLITE_OMIT_TRACE is false. To control the presence of this define, this CL also adds the `enable_sqlite_tracing` gn arg to create local debug builds that include expanded statements in their traces. Bug: 40949392 Change-Id: I79cfc1fc209065948e254df4fe74c85ddfd7bb12 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6033419 Reviewed-by: Etienne Bergeron <etienneb@chromium.org> Commit-Queue: Anthony Vallée-Dubois <anthonyvd@chromium.org> Cr-Commit-Position: refs/heads/main@{#1389908}
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.