summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/mysqli_select_db.phpt
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2009-10-19 20:07:25 +0000
committerUlf Wendel <uw@php.net>2009-10-19 20:07:25 +0000
commit210353caee6118c3d9872309dad705aa505bd4a4 (patch)
treecef2725120a558ab518c7acdc6539a3181dde4d1 /ext/mysqli/tests/mysqli_select_db.phpt
parent6450f43efb6561a45aad7ac2c12079617674d060 (diff)
downloadphp-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_select_db.phpt')
-rw-r--r--ext/mysqli/tests/mysqli_select_db.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/tests/mysqli_select_db.phpt b/ext/mysqli/tests/mysqli_select_db.phpt
index bc774cfec9..d700a2b557 100644
--- a/ext/mysqli/tests/mysqli_select_db.phpt
+++ b/ext/mysqli/tests/mysqli_select_db.phpt
@@ -8,7 +8,7 @@ require_once('skipifconnectfailure.inc');
?>
--FILE--
<?php
- include "connect.inc";
+ require_once("connect.inc");
$tmp = NULL;
$link = NULL;