forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark sql::Transaction::Begin [[nodiscard]]
Assuming that transactions are primarily used for correctness with respect to write atomicity, callers should be expected to check the return value of Begin and retry at a higher level if necessary, rather than silently proceed with non-transactional writes. Note that we make a slight behavioral change to chrome/browser/android/explore_sites/get_catalog_task.cc to account for this, since it has an obvious implementation. Change-Id: Ifebe9fc56ea9a26c9bcc054cfe1240de4ff79c7e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3895361 Reviewed-by: Austin Sullivan <[email protected]> Reviewed-by: Scott Violet <[email protected]> Commit-Queue: Andrew Paseltiner <[email protected]> Quick-Run: Andrew Paseltiner <[email protected]> Reviewed-by: Justin DeWitt <[email protected]> Cr-Commit-Position: refs/heads/main@{#1048231}
- Loading branch information
Andrew Paseltiner
authored and
Chromium LUCI CQ
committed
Sep 16, 2022
1 parent
fa37547
commit 088afc4
Showing
6 changed files
with
22 additions
and
15 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
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