]> granicus.if.org Git - php/commitdiff
fix test
authorAntony Dovgal <tony2001@php.net>
Fri, 18 Jan 2008 12:12:19 +0000 (12:12 +0000)
committerAntony Dovgal <tony2001@php.net>
Fri, 18 Jan 2008 12:12:19 +0000 (12:12 +0000)
ext/mysqli/tests/bug42548.phpt

index a7d5f39ff7fa73ce5c753505fc336273f5015c76..541833cf9c415c9aaea788596b09c66917024559 100644 (file)
@@ -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();