Skip to content

Proposed next version of python-ibmdb to use#6

Draft
zenflow wants to merge 5 commits intoupstream-masterfrom
mt-next
Draft

Proposed next version of python-ibmdb to use#6
zenflow wants to merge 5 commits intoupstream-masterfrom
mt-next

Conversation

@zenflow
Copy link
Copy Markdown

@zenflow zenflow commented Feb 17, 2026

Draft PR as we don't need to merge this.
This is just for visibility on the proposed next version of python-ibmdb to use.

Include thread id in the persistent connection cache key so pconnect entries are isolated per thread.
This prevents accidental cross-thread reuse of cached connections.
Add regression test for thread safety of persistent connections.
…uction

- Ensure PID and thread-id temporary unicode objects are NULL-checked and decref'd after PyUnicode_Concat.
- Prevents incremental memory growth in long-running workloads using persistent connections.
Return True when ibm_db.close() or ibm_db_dbi.Connection.close() is called on an already-closed connection instead of raising.
Add a DBI regression test for double-close behavior.
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.

1 participant