With mysqli, avoid setting the charset twice
authorAaron Schulz <aschulz@wikimedia.org>
Fri, 27 Dec 2013 22:40:15 +0000 (14:40 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Mon, 30 Dec 2013 23:16:59 +0000 (23:16 +0000)
commitfbe350750b79b5c0ec2fbf9b0fd1554399bb1c05
tree687a50edf5708709b00c6f0037d4b506851cb8b3
parent49cb843bb1f0602b2867d49d0e92675123084284
With mysqli, avoid setting the charset twice

* This uses MYSQLI_SET_CHARSET_NAME to set the charset to utf8/binary
* This replaces a live WMF hack to skip the extra round trip

Change-Id: I1718e013fcdc95163d111d460f0dd6d2190a99b1
includes/db/DatabaseMysqlBase.php
includes/db/DatabaseMysqli.php