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/064.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/064.phpt')
| -rw-r--r-- | ext/mysqli/tests/064.phpt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/064.phpt b/ext/mysqli/tests/064.phpt index a308e4ab29..46af7a6628 100644 --- a/ext/mysqli/tests/064.phpt +++ b/ext/mysqli/tests/064.phpt @@ -7,7 +7,7 @@ require_once('skipifconnectfailure.inc'); ?> --FILE-- <?php - include "connect.inc"; + require_once("connect.inc"); $mysql = new my_mysqli($host, $user, $passwd, $db, $port, $socket); |
