Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCI_TypeInfoGet() : In case of failure, newly created OCI_TypeInfo object is not removed from OCI_Connection internal cache #332

Open
vrogier opened this issue Feb 19, 2023 · 0 comments

Comments

@vrogier
Copy link
Owner

vrogier commented Feb 19, 2023

OCI_TypeInfoGet() creates a OCI_TypeInfo object, add it to the list of OCI_TypeInfo object for the given connection, populates it with data retrieved from Oracle OCI client then returns it to the caller.
Since v4.7.4, in case of error while retrieving data from Oracle, the created OCI_TypeInfo is not removed for the connection internal list.
Leading a second call to OCI_TypeInfoGet)( to return an incomplete instance of OCI_TypeInfo.

@vrogier vrogier self-assigned this Feb 19, 2023
vrogier pushed a commit that referenced this issue Feb 19, 2023
@vrogier vrogier changed the title OCI_TypeInfoGet() : since v4.7.4, in case of failure, OCI_TypeInfo object is not removed from OCI_Connection internal list of OCI_TypeInfo objects OCI_TypeInfoGet() : In case of failure, newly created OCI_TypeInfo object is not removed from OCI_Connection internal cache Feb 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant