Permalink
Browse files

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.
  • Loading branch information...
1 parent be3e2bb commit 4633e07e29da0208c20ed7997d573426ece960d9 @nikic nikic committed Mar 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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!

0 comments on commit 4633e07

Please sign in to comment.