SIGN IN SIGN UP

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
https://github.com/tursodatabase/libsql-client-ts/issues/312
P
Pekka Enberg committed
dda04140ac03ab630d512a36efb99810491ec74f
Committed by GitHub <noreply@github.com> on 3/19/2026, 3:07:35 PM