Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

Consume all rows#62

Merged
PThorpe92 merged 6 commits intomainfrom
consume-all-rows
Nov 12, 2025
Merged

Consume all rows#62
PThorpe92 merged 6 commits intomainfrom
consume-all-rows

Conversation

@sivukhin
Copy link
Contributor

@sivukhin sivukhin commented Nov 12, 2025

This PR upgrade turso_core to version 0.3.2. This lead to regression, so few places also fixed in order to mitigate new issues.

The main issue is that closing rows without error can silently reset all changes made within a statement.

Go bindings for now can hit this behavior in case of INSERT with RETURNING clause as only one row will be consumed before clause for them (but final Done will not be reached)

This PR explicitly consume all rows on Close if there were no error for the statement

sivukhin and others added 6 commits November 13, 2025 00:08
@PThorpe92 PThorpe92 merged commit c5e55b3 into main Nov 12, 2025
7 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants