Commit 91947dc
authored
sa: use tx object in AddPrecertificate (#8865)
Most of the body of this WithTransaction call used `tx` for manipulating
the database, but the call to insert the certificateStatus row
accidentally used sa.dbMap, meaning that call did not participate in
transactional guarantees.
Wrote a similar bug while working on #8826, asked Claude to find the
same pattern elsewhere in the codebase and came up with this one.1 parent cf71498 commit 91947dc
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
1601 | 1601 | | |
1602 | 1602 | | |
1603 | 1603 | | |
1604 | | - | |
| 1604 | + | |
1605 | 1605 | | |
1606 | 1606 | | |
1607 | 1607 | | |
| |||
0 commit comments