List:Commits« Previous MessageNext Message »
From:uwendel Date:July 5 2007 12:06pm
Subject:PHP mysqlnd svn commit: r648 - trunk/tests/ext/mysqli
View as plain text  
Author: uwendel
Date: 2007-07-05 14:06:26 +0200 (Thu, 05 Jul 2007)
New Revision: 648

Modified:
   trunk/tests/ext/mysqli/mysqli_report_wo_ps.phpt
Log:
Fix test, username gets always cut off after 32 characters.


Modified: trunk/tests/ext/mysqli/mysqli_report_wo_ps.phpt
===================================================================
--- trunk/tests/ext/mysqli/mysqli_report_wo_ps.phpt	2007-07-05 12:00:27 UTC (rev 647)
+++ trunk/tests/ext/mysqli/mysqli_report_wo_ps.phpt	2007-07-05 12:06:26 UTC (rev 648)
@@ -40,7 +40,7 @@
        
     mysqli_multi_query($link, "BAR; FOO;");
     mysqli_query($link, "FOO");
-    mysqli_change_user($link, "This might work if you accept anonymous users in your
setup", "password", $db);
+    mysqli_change_user($link,
"0123456789-10-456789-20-456789-30-456789-40-456789-50-456789-60-456789-70-456789-80-456789-90-456789",
"password", $db);
     mysqli_kill($link, -1);
     
     // mysqli_ping() cannot be tested, because one would need to cause an error inside
the C function to test it    
@@ -96,7 +96,7 @@
 
 Warning: mysqli_query(): (%d/%d): You have an error in your SQL syntax; check the manual
that corresponds to your MySQL server version for the right syntax to use near 'FOO' at
line 1 in %s on line %d
 
-Warning: mysqli_change_user(): (%d/%d): Access denied for user 'This might work if you
accept anonymous users in'@'%s' (using password: YES) in %s on line %d
+Warning: mysqli_change_user(): (%d/%d): Access denied for user
'0123456789-10-456789-20-456789-3'@'%s' (using password: YES) in %s on line %d
 
 Warning: mysqli_kill(): processid should have positive value in %s on line %d
 

Thread
PHP mysqlnd svn commit: r648 - trunk/tests/ext/mysqliuwendel5 Jul