From 4633e07e29da0208c20ed7997d573426ece960d9 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sun, 24 Mar 2013 17:06:03 +0100 Subject: 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. --- ext/mysql/tests/mysql_list_fields.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/mysql/tests') diff --git a/ext/mysql/tests/mysql_list_fields.phpt b/ext/mysql/tests/mysql_list_fields.phpt index 259a94a399..6b6ae9b319 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! -- cgit v1.2.1