Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Default to real-utf8 when no charset is provided
- Loading branch information
1 parent
d1f8a28
commit 5b88b4b
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5b88b4b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For me this initializes the connection class twice on each request. Always.
I'm building a custom connection class to support master-slave replication on shards and the constructor does some heavy lifting that I don't see any sense in doing twice.
For some reason the charset is never included in the initial parameter list.