Commit dda0414
authored
libsql: Fix total_changes accumulation for SQL over HTTP batch execution (#2220)
The batch_inner() updates affected_row_count but never adds it to
total_changes. Only finalize() did, so total_changes was missing the
contributions of all intermediate batch/execute operations.
Found while investigating
tursodatabase/libsql-client-ts#3121 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
166 | 169 | | |
167 | 170 | | |
168 | 171 | | |
| |||
0 commit comments