summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/tests
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-09-04 11:56:13 +0800
committerXinchen Hui <laruence@php.net>2014-09-04 11:56:13 +0800
commite90ec235dc0eaae2eef2d2db585f619bfff6c5ee (patch)
treecac48cfde2ecb2d33f5d511f258ec367e5117efe /ext/pdo_mysql/tests
parentd85ab21ac44873d4be6ea44c91a002ceac6b08fa (diff)
downloadphp-git-e90ec235dc0eaae2eef2d2db585f619bfff6c5ee.tar.gz
Use PHP_GINIT to suppress incompatible pointer type
Diffstat (limited to 'ext/pdo_mysql/tests')
-rw-r--r--ext/pdo_mysql/tests/pdo_mysql_connect_charset.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/pdo_mysql/tests/pdo_mysql_connect_charset.phpt b/ext/pdo_mysql/tests/pdo_mysql_connect_charset.phpt
index 22d36183cb..f529637a70 100644
--- a/ext/pdo_mysql/tests/pdo_mysql_connect_charset.phpt
+++ b/ext/pdo_mysql/tests/pdo_mysql_connect_charset.phpt
@@ -6,6 +6,8 @@ require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'skipif.inc');
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
MySQLPDOTest::skip();
?>
+--INI--
+pdo_mysql.default_socket=/tmp/mysql2.sock
--FILE--
<?php
require_once(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'mysql_pdo_test.inc');
@@ -30,4 +32,4 @@ MySQLPDOTest::skip();
}
?>
--EXPECTF--
-done! \ No newline at end of file
+done!