tony2001                Fri Jan 18 12:12:20 2008 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/mysqli/tests   bug42548.phpt 
  Log:
  fix test
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/bug42548.phpt?r1=1.2.2.2&r2=1.2.2.3&diff_format=u
Index: php-src/ext/mysqli/tests/bug42548.phpt
diff -u php-src/ext/mysqli/tests/bug42548.phpt:1.2.2.2 
php-src/ext/mysqli/tests/bug42548.phpt:1.2.2.3
--- php-src/ext/mysqli/tests/bug42548.phpt:1.2.2.2      Tue Jan  1 16:51:09 2008
+++ php-src/ext/mysqli/tests/bug42548.phpt      Fri Jan 18 12:12:19 2008
@@ -4,8 +4,10 @@
 <?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();

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to