Browse Source

Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  oop, put both the error number and message for both db object to the error message
pull/1260/head
Ferenc Kovacs 11 years ago
parent
commit
e70e2d8310
  1. 2
      ext/pdo_mysql/tests/pdo_mysql_pconnect.phpt

2
ext/pdo_mysql/tests/pdo_mysql_pconnect.phpt

@ -88,6 +88,8 @@ MySQLPDOTest::skip();
printf("[001] %s, [%s] %s [%s] %s\n",
$e->getMessage(),
(is_object($db1)) ? $db1->errorCode() : 'n/a',
(is_object($db1)) ? implode(' ', $db1->errorInfo()) : 'n/a');
(is_object($db2)) ? $db2->errorCode() : 'n/a',
(is_object($db2)) ? implode(' ', $db2->errorInfo()) : 'n/a');
}

Loading…
Cancel
Save