Jira issue originally created by user @doctrinebot:
This issue is created automatically through a Github pull request on behalf of till:
Fixes the warning emitted by mysqli when sqlstate is not set (yet?).
Warning masks actual connection error.
Comment created by @doctrinebot:
A related Github Pull-Request [GH-611] was closed:
Issue was closed with resolution "Fixed"
Comment created by @beberlei: