-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update MasterSlaveConnection.php #685
Conversation
If you use close method just before connect method, $this->_conn is unset and we have got an error php.
Hello, thank you for creating this pull request. I have automatically opened an issue http://www.doctrine-project.org/jira/browse/DBAL-997 We use Jira to track the state of pull requests and the versions they got |
Sorry, I was wrong. It's just notice, not php error. |
the right fix would be to fix Connection::close to reset the value of the property instead of unsetting the property from the object |
#688 indeed fixes this |
While I'm fine with the proposed solution by @stof, wouldn't it be more reasonable here to check for |
I don't understand your proposal |
@stof nevermind, got the implementation of |
…997-undefined-_conn-property Close #691
…undefined-_conn-property Close #688
…d only on the quoting call
If you use close method just before connect method, $this->_conn is unset and we have got an error php.