diff options
author | Ulf Wendel <uw@php.net> | 2009-10-19 20:07:25 +0000 |
---|---|---|
committer | Ulf Wendel <uw@php.net> | 2009-10-19 20:07:25 +0000 |
commit | 210353caee6118c3d9872309dad705aa505bd4a4 (patch) | |
tree | cef2725120a558ab518c7acdc6539a3181dde4d1 /ext/mysqli/tests/mysqli_fetch_field_types.phpt | |
parent | 6450f43efb6561a45aad7ac2c12079617674d060 (diff) | |
download | php-git-210353caee6118c3d9872309dad705aa505bd4a4.tar.gz |
Using require[_once] instead of include. Adding logic to connect.inc to detect multiple inclusions of connect.inc which leads to a Fatal error because of my_mysqli_connect() function redefinition. Some tests did include connect.inc twice -> run-tests - even the one from trunk - did not detect Fatal error in SKIPIF -> false-positive test result...
Diffstat (limited to 'ext/mysqli/tests/mysqli_fetch_field_types.phpt')
-rw-r--r-- | ext/mysqli/tests/mysqli_fetch_field_types.phpt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/mysqli/tests/mysqli_fetch_field_types.phpt b/ext/mysqli/tests/mysqli_fetch_field_types.phpt index ae18f0ca63..5d7e5ebc8d 100644 --- a/ext/mysqli/tests/mysqli_fetch_field_types.phpt +++ b/ext/mysqli/tests/mysqli_fetch_field_types.phpt @@ -8,7 +8,6 @@ require_once('skipifconnectfailure.inc'); ?> --FILE-- <?php - include "connect.inc"; require('table.inc'); function mysqli_field_datatypes($link, $sql_type, $php_value, $php_type, $datatypes) { |