commit | 628afca0b6be12a8688cc5b9aed7432860a550db | [log] [tgz] |
---|---|---|
author | Victor Costan <pwnall@chromium.org> | Tue Sep 21 02:36:09 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 21 02:36:09 2021 |
tree | 8b9db80ca0755f6ab17c38f7874e11288d202dca | |
parent | f216e2154a504d908c75a3dd2fc41251f48e3d9d [diff] |
sql: Implement Database::HasActiveTransactions(). HasActiveTransactions() is a replacement for transaction_nesting(), which exposes too much detail, and references nested transactions, which is a mis-feature. This CL also updates Transaction's unit tests to more thoroughly cover both HasActiveTransactions() and transaction_testing(). This CL does not introduce any functional changes. Follow-up CLs will replace transaction_nesting() usage with HasActiveTransactions(), and eventually remove transaction_nesting(). Change-Id: I95ecedbe85514ef49f0ba654b63dfd65b353ec9e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3171111 Commit-Queue: Victor Costan <pwnall@chromium.org> Reviewed-by: Ayu Ishii <ayui@chromium.org> Cr-Commit-Position: refs/heads/main@{#923197}
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.