Commit 3f5b237
When a user answers "no" to "Commit deletes?", the transaction is
rolled back but delete() still returned the count of rows that would
have been deleted. This was unintuitive - if nothing was deleted,
the return value should be 0.
Now delete() returns 0 when:
- User cancels at the prompt
- Nothing to delete (already worked correctly)
Fixes #1155
Co-authored-by: Claude Opus 4.5 <[email protected]>
1 parent 38d0f94 commit 3f5b237
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
977 | 977 | | |
978 | 978 | | |
979 | 979 | | |
| 980 | + | |
980 | 981 | | |
981 | 982 | | |
982 | 983 | | |
| |||
0 commit comments