rasmus                                   Wed, 31 Aug 2011 07:19:20 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=315856

Log:
Fix test. I have no idea why the test author didn't expect to get back
latin2 when the test is setting it to latin2 here. Both PHP and MySQL
are doing the right thing here.

Changed paths:
    U   
php/php-src/branches/PHP_5_4/ext/pdo_mysql/tests/pdo_mysql___construct.phpt
    U   php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql___construct.phpt

Modified: 
php/php-src/branches/PHP_5_4/ext/pdo_mysql/tests/pdo_mysql___construct.phpt
===================================================================
--- php/php-src/branches/PHP_5_4/ext/pdo_mysql/tests/pdo_mysql___construct.phpt 
2011-08-31 07:10:17 UTC (rev 315855)
+++ php/php-src/branches/PHP_5_4/ext/pdo_mysql/tests/pdo_mysql___construct.phpt 
2011-08-31 07:19:20 UTC (rev 315856)
@@ -297,4 +297,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
-[033] DSN = mysql:%s, character sets has not been set, 
@@character_set_connection reports 'latin1', expecting 'latin2'done!
+done!

Modified: php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql___construct.phpt
===================================================================
--- php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql___construct.phpt    
2011-08-31 07:10:17 UTC (rev 315855)
+++ php/php-src/trunk/ext/pdo_mysql/tests/pdo_mysql___construct.phpt    
2011-08-31 07:19:20 UTC (rev 315856)
@@ -297,4 +297,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
-[033] DSN = mysql:%s, character sets has not been set, 
@@character_set_connection reports 'latin1', expecting 'latin2'done!
+done!

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to