-
-
Notifications
You must be signed in to change notification settings - Fork 71
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
Added IbmDb2 db2_pclose to disconnect #27
Comments
Was this supposed to be closed? Originally posted by @Ocramius at zendframework/zend-db#333 (comment) |
Sorry, I'm new at GitHub and thought the pull request was rejected and I needed to create a new one. Originally posted by @JargonMan at zendframework/zend-db#333 (comment) |
Hah, ok. You can just send more commits to this branch, and that will On Tue, 14 Aug 2018, 17:47 JargonMan, [email protected] wrote:
Originally posted by @Ocramius at zendframework/zend-db#333 (comment) |
|
Updated the disconnect method to choose db2_pclose or db2_close based on the resource's connectionParameter for persistence.
The public function connect() creates either persistent or non persistent db2 connections based on a connection parameter.
This update uses the same logic in the public function disconnect() to close the connection. Previously persistent connections would not have been closed with the db2_close() call, because they need the db2_pclose() call.
Originally posted by @JargonMan at zendframework/zend-db#333
The text was updated successfully, but these errors were encountered: