Commit:    9d1bc1b622f1c28a55fe4dc4e87e111aff6ed8b8
Author:    Rasmus Lerdorf <ras...@php.net>         Thu, 13 Dec 2012 16:41:56 
-0800
Parents:   eecdb4c254bafe5fc53b1e06055482944cd3560f
Branches:  PHP-5.3 PHP-5.4 PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=9d1bc1b622f1c28a55fe4dc4e87e111aff6ed8b8

Log:
Fix broken test
Need to use the configured connection parameters here. We can't assume
the test user has access.

Changed paths:
  M  ext/mysqli/tests/bug63398.phpt


Diff:
diff --git a/ext/mysqli/tests/bug63398.phpt b/ext/mysqli/tests/bug63398.phpt
index 6dffa8c..26d00c9 100644
--- a/ext/mysqli/tests/bug63398.phpt
+++ b/ext/mysqli/tests/bug63398.phpt
@@ -10,7 +10,7 @@ if (!$IS_MYSQLND) {
 ?>
 --FILE--
 <?php
-$link = new mysqli('localhost', 'test', NULL, 'test');
+$link = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket);
 
 mysqli_close($link);


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

Reply via email to