Skip to content

Commit 4633e07

Browse files
committed
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.
1 parent be3e2bb commit 4633e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/mysql/tests/mysql_list_fields.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ mysql_field_name(): id
7474
mysql_field_type(): int
7575
Field Offset 1
7676
mysql_field_flags()%s
77-
mysql_field_len(): 1
77+
mysql_field_len(): %s
7878
mysql_field_name(): label
7979
mysql_field_type(): string
8080
done!

0 commit comments

Comments
 (0)