Commit:    4633e07e29da0208c20ed7997d573426ece960d9
Author:    Nikita Popov <ni...@php.net>         Sun, 24 Mar 2013 17:06:03 +0100
Parents:   be3e2bb295d58297ce7e8a3ee05cbf2112eb0138
Branches:  PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=4633e07e29da0208c20ed7997d573426ece960d9

Log:
Fix mysql_list_fields.phpt test

The minimum length is given in bytes, so it is charset dependent.
For utf8 charsets for example it's 3 rather than 1.

Changed paths:
  M  ext/mysql/tests/mysql_list_fields.phpt


Diff:
diff --git a/ext/mysql/tests/mysql_list_fields.phpt 
b/ext/mysql/tests/mysql_list_fields.phpt
index 259a94a..6b6ae9b 100644
--- a/ext/mysql/tests/mysql_list_fields.phpt
+++ b/ext/mysql/tests/mysql_list_fields.phpt
@@ -74,7 +74,7 @@ mysql_field_name(): id
 mysql_field_type(): int
 Field Offset 1
 mysql_field_flags()%s
-mysql_field_len(): 1
+mysql_field_len(): %s
 mysql_field_name(): label
 mysql_field_type(): string
 done!


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

Reply via email to