Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Conversation

@JargonMan
Copy link

@JargonMan JargonMan commented Aug 9, 2018

Persistent database connections created with db2_pconnect don't close with the current disconnect method. This change adds a callable method for closing persistent database connections by using db2_pclose().

Copy link
Member

@Ocramius Ocramius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closing as invalid as described in review comments: the original patch was correct, although unfinished.

*
* @return ConnectionInterface
*/
public function disconnectPersistent()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Providing a completely different API for something that is an implementation detail is incorrect, and breaks LSP (expanding the interface for an adapter means that it is no longer an adapter)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants