cvs: php-src(PHP_5_3) /ext/pdo_mysql/tests pdo_mysql___construct.phpt
| From: | Ulf Wendel | Date: | Wed, 23 Jul 2008 13:04:18 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/pdo_mysql/tests pdo_mysql___construct.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-51454@lists.php.net to get a copy of this message | ||
uw Wed Jul 23 13:04:18 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/pdo_mysql/tests pdo_mysql___construct.phpt
Log:
MFH
http://cvs.php.net/viewvc.cgi/php-src/ext/pdo_mysql/tests/pdo_mysql___construct.phpt?r1=1.1.2.2&r2=1.1.2.3&diff_format=u
Index: php-src/ext/pdo_mysql/tests/pdo_mysql___construct.phpt
diff -u php-src/ext/pdo_mysql/tests/pdo_mysql___construct.phpt:1.1.2.2
php-src/ext/pdo_mysql/tests/pdo_mysql___construct.phpt:1.1.2.3
--- php-src/ext/pdo_mysql/tests/pdo_mysql___construct.phpt:1.1.2.2 Mon Jul 21 13:09:28 2008
+++ php-src/ext/pdo_mysql/tests/pdo_mysql___construct.phpt Wed Jul 23 13:04:18 2008
@@ -207,8 +207,6 @@
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 @@
[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