Skip to content

Fix queryDirect row lifetime bug and remove dead rowDataBuf#177

Merged
fox0430 merged 1 commit intomainfrom
fix/querydirect-lifetime
Apr 11, 2026
Merged

Fix queryDirect row lifetime bug and remove dead rowDataBuf#177
fox0430 merged 1 commit intomainfrom
fix/querydirect-lifetime

Conversation

@fox0430
Copy link
Copy Markdown
Owner

@fox0430 fox0430 commented Apr 11, 2026

queryDirectImpl was still reusing conn.rowDataBuf, so results from a previous queryDirect call were invalidated by the next one. Pass a fresh RowData like the other query paths, then drop the now-unused reuseBuffer flag and rowDataBuf field.

Close #176

@fox0430 fox0430 changed the title queryDirect row lifetime bug and remove dead rowDataBuf Fix queryDirect row lifetime bug and remove dead rowDataBuf Apr 11, 2026
@fox0430 fox0430 merged commit 11d979a into main Apr 11, 2026
4 checks passed
@fox0430 fox0430 deleted the fix/querydirect-lifetime branch April 11, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

queryDirect has row lifetime bug

1 participant