summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql
diff options
context:
space:
mode:
authorFerenc Kovacs <tyrael@php.net>2015-04-01 22:08:11 +0200
committerFerenc Kovacs <tyrael@php.net>2015-04-01 22:08:11 +0200
commitfaab4301417517c2c83910101a37a9ed53eb57e1 (patch)
tree5763ab91b046140e7c88704d71455f6068b5d915 /ext/pdo_mysql
parent2d9399af3514189375f34610acc33a34de44d772 (diff)
parent0a41af216ecabf76b54a78783b7cac01ca353ef9 (diff)
downloadphp-git-faab4301417517c2c83910101a37a9ed53eb57e1.tar.gz
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: test fixes
Diffstat (limited to 'ext/pdo_mysql')
-rw-r--r--ext/pdo_mysql/tests/pdo_mysql_pconnect.phpt6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pdo_mysql/tests/pdo_mysql_pconnect.phpt b/ext/pdo_mysql/tests/pdo_mysql_pconnect.phpt
index 5990ab812e..12699c5bf3 100644
--- a/ext/pdo_mysql/tests/pdo_mysql_pconnect.phpt
+++ b/ext/pdo_mysql/tests/pdo_mysql_pconnect.phpt
@@ -85,10 +85,10 @@ MySQLPDOTest::skip();
} catch (PDOException $e) {
- printf("[001] %s, [%s] %s\n",
+ printf("[001] %s, [%s] %s [%s] %s\n",
$e->getMessage(),
- (is_object($db)) ? $db->errorCode() : 'n/a',
- (is_object($db)) ? implode(' ', $db->errorInfo()) : 'n/a');
+ (is_object($db1)) ? $db1->errorCode() : 'n/a',
+ (is_object($db2)) ? implode(' ', $db2->errorInfo()) : 'n/a');
}
print "done!";