summaryrefslogtreecommitdiff
path: root/ext/mysql/tests
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2013-03-24 17:06:03 +0100
committerNikita Popov <nikic@php.net>2013-03-24 17:07:16 +0100
commit4633e07e29da0208c20ed7997d573426ece960d9 (patch)
treeb99b4f18c761711f3c25a5052445887b73c70aaa /ext/mysql/tests
parentbe3e2bb295d58297ce7e8a3ee05cbf2112eb0138 (diff)
downloadphp-git-4633e07e29da0208c20ed7997d573426ece960d9.tar.gz
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.
Diffstat (limited to 'ext/mysql/tests')
-rw-r--r--ext/mysql/tests/mysql_list_fields.phpt2
1 files changed, 1 insertions, 1 deletions
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!