summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/tests/mysql_pdo_test.inc
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2011-01-17 09:54:22 +0000
committerKalle Sommer Nielsen <kalle@php.net>2011-01-17 09:54:22 +0000
commit504b6f695e3bf0bae3ce4db14f48bb15f7db34a6 (patch)
treebc49768db755aaed6f63b13e6c2fe0f477e4408d /ext/pdo_mysql/tests/mysql_pdo_test.inc
parentff4982784a53f02b08b1b2cade9dff6e46977eca (diff)
downloadphp-git-504b6f695e3bf0bae3ce4db14f48bb15f7db34a6.tar.gz
MFT: Implemented FR #47802 (Support for setting character sets in DSN strings)
Diffstat (limited to 'ext/pdo_mysql/tests/mysql_pdo_test.inc')
-rw-r--r--ext/pdo_mysql/tests/mysql_pdo_test.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo_mysql/tests/mysql_pdo_test.inc b/ext/pdo_mysql/tests/mysql_pdo_test.inc
index 01c4cb9aaf..a3ffd5b9cc 100644
--- a/ext/pdo_mysql/tests/mysql_pdo_test.inc
+++ b/ext/pdo_mysql/tests/mysql_pdo_test.inc
@@ -4,9 +4,9 @@ require_once(dirname(__FILE__) . '/../../../ext/pdo/tests/pdo_test.inc');
class MySQLPDOTest extends PDOTest {
- static function factory($classname = 'PDO', $drop_test_tables = false, $myattr = null) {
+ static function factory($classname = 'PDO', $drop_test_tables = false, $myattr = null, $mydsn = null) {
- $dsn = self::getDSN();
+ $dsn = self::getDSN($mydsn);
$user = PDO_MYSQL_TEST_USER;
$pass = PDO_MYSQL_TEST_PASS;
$attr = getenv('PDOTEST_ATTR');