From fb4967900dc0b604c537e098a41b20dcaeba991f Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Thu, 9 Aug 2007 11:53:17 +0000 Subject: Same as for ext/mysqli tests: addition of a new environment variable MYSQL_TEST_SKIP_CONNECT_FAILURE which controls how to deal with connection problems. If MYSQL_TEST_SKIP_CONNECT_FAILURE = false (default) connection problems will make a test fail. If you set MYSQL_TEST_SKIP_CONNECT_FAILURE to any value that evaluates to true in PHP, a test which cannot connect to the database will be skipped. --- ext/mysql/tests/mysql_fetch_field.phpt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ext/mysql/tests/mysql_fetch_field.phpt') diff --git a/ext/mysql/tests/mysql_fetch_field.phpt b/ext/mysql/tests/mysql_fetch_field.phpt index 87f8c5f4f9..50f9dff705 100644 --- a/ext/mysql/tests/mysql_fetch_field.phpt +++ b/ext/mysql/tests/mysql_fetch_field.phpt @@ -1,7 +1,10 @@ --TEST-- mysql_fetch_field() --SKIPIF-- - + --FILE--