You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `batch` variable that we were calling Close() on here might be
overwritten if a savepoint rollback is encountered. The defer would
actually then be a second Close() since we close all
savepoint-generated batches in a loop.
Here, we use two variables to avoid this double-close.
Fixes#143873
Release note: None
0 commit comments