summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2008-07-23 12:57:04 +0000
committerUlf Wendel <uw@php.net>2008-07-23 12:57:04 +0000
commit1c8d68b019563794fe5664c74f31eee23fa89a5a (patch)
treecc5052eb7c10aed015f33ad5fddf4aafd3451fed
parent55fecd6593bb427a014bee14390a1d889bf7eafa (diff)
downloadphp-git-1c8d68b019563794fe5664c74f31eee23fa89a5a.tar.gz
This little detail seems MySQL version/setup dependent
-rw-r--r--ext/pdo_mysql/tests/pdo_mysql___construct.phpt5
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/pdo_mysql/tests/pdo_mysql___construct.phpt b/ext/pdo_mysql/tests/pdo_mysql___construct.phpt
index b6191d1825..8602a4971c 100644
--- a/ext/pdo_mysql/tests/pdo_mysql___construct.phpt
+++ b/ext/pdo_mysql/tests/pdo_mysql___construct.phpt
@@ -207,8 +207,6 @@ MySQLPDOTest::skip();
try {
$db = @new PDO($dsn, $user, $pass);
/* NOTE: MySQL does a fallback to the charset suggested during the handshake - no error - no bug! */
- assert(false);
- printf("%s\n", $dsn);
} catch (PDOException $e) {
$tmp = $e->getMessage();
/* TODO: add proper codes */
@@ -297,7 +295,4 @@ MySQLPDOTest::skip();
[009] SQLSTATE[28000] [1045] Access denied for user 'dont%s'@'%s' (using password: YES), [n/a] n/a
[010] SQLSTATE[28000] [1045] Access denied for user 'dont%s'@'%s' (using password: YES), [n/a] n/a
[017] DSN=%s, SQLSTATE[%s] [%d] %s
-
-Warning: assert(): Assertion failed in %s on line %d
-mysql:%s
[033] DSN = mysql:%s, character sets has not been set, @@character_set_connection reports 'latin1', expecting 'latin2'done! \ No newline at end of file