Add charset= support to PDO mysql DSN
commitb54dff5b10e25f10b808e0dfe5b44c05bdaae675
authorSean Cannella <seanc@fb.com>
Thu, 23 Jan 2014 20:15:34 +0000 (23 12:15 -0800)
committerSara Golemon <sgolemon@fb.com>
Tue, 28 Jan 2014 17:17:38 +0000 (28 09:17 -0800)
treedadf86acdc9838cc8f4b84db68c7ff7fe1c2c622
parent9d28061e71b4054c2c2d03b6316f55911d9105ae
Add charset= support to PDO mysql DSN

Adds support for charset= in the PDO mysql DSN.

Closes #1309
Closes #1489

Reviewed By: @ptarjan

Differential Revision: D1137883
.travis.yml
hphp/runtime/ext/pdo_mysql.cpp
hphp/test/zend/bad/ext/pdo_mysql/tests/mysql_pdo_test.inc [new file with mode: 0644]
hphp/test/zend/good/ext/pdo_mysql/tests/mysql_pdo_test.inc [new file with mode: 0644]
hphp/test/zend/good/ext/pdo_mysql/tests/pdo_mysql_connect_charset.php [moved from hphp/test/zend/bad/ext/pdo_mysql/tests/pdo_mysql_connect_charset.php with 97% similarity]
hphp/test/zend/good/ext/pdo_mysql/tests/pdo_mysql_connect_charset.php.expectf [moved from hphp/test/zend/bad/ext/pdo_mysql/tests/pdo_mysql_connect_charset.php.expectf with 100% similarity]
hphp/test/zend/good/ext/pdo_mysql/tests/pdo_mysql_connect_charset.php.skipif [new file with mode: 0644]