Skip to content

Conversation

@swebb2066
Copy link
Contributor

This PR ensures the lifetime of value buffers in a prepared statement is the same as the prepared statement.

A fault was only avoided because APR memory pool retains the buffer as part of its optimised allocator strategy which reduces calls to malloc/free.

@swebb2066 swebb2066 merged commit 06c85e1 into master Jan 27, 2026
34 checks passed
@swebb2066 swebb2066 deleted the fix_odbc_prepared_statement_buffer_lifetimes branch January 27, 2026 05:23
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.

2 participants