summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2008-01-18 12:12:19 +0000
committerAntony Dovgal <tony2001@php.net>2008-01-18 12:12:19 +0000
commitf66f94b4b02549ebe579651720bf81205780c0e3 (patch)
treecbb24ad095558b11551d1be6e3b35ff7e7e71445
parentff7be1407739c8e014aabfea0b180829258f6439 (diff)
downloadphp-git-f66f94b4b02549ebe579651720bf81205780c0e3.tar.gz
fix test
-rw-r--r--ext/mysqli/tests/bug42548.phpt4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/mysqli/tests/bug42548.phpt b/ext/mysqli/tests/bug42548.phpt
index a7d5f39ff7..541833cf9c 100644
--- a/ext/mysqli/tests/bug42548.phpt
+++ b/ext/mysqli/tests/bug42548.phpt
@@ -4,8 +4,10 @@ Bug #42548 PROCEDURE xxx can't return a result set in the given context (works i
<?php if (!extension_loaded("mysqli")) print "skip"; ?>
--FILE--
<?php
+include "connect.inc";
+
$mysqli = mysqli_init();
-$mysqli->real_connect('localhost', 'root', '', 'test');
+$mysqli->real_connect($host, $user, $passwd, 'test');
if (mysqli_connect_errno()) {
printf("Connect failed: %s\n", mysqli_connect_error());
exit();