iliaa           Mon Feb  6 14:25:28 2006 UTC

  Modified files:              
    /php-src/ext/mysql/tests    001.phpt 
  Log:
  MFB51: Fixed test to work when TCP/IP access to MySQL is disabled or test 
  server is on a remote machine.
  
  
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/mysql/tests/001.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/mysql/tests/001.phpt
diff -u php-src/ext/mysql/tests/001.phpt:1.3 
php-src/ext/mysql/tests/001.phpt:1.4
--- php-src/ext/mysql/tests/001.phpt:1.3        Mon Jun 20 00:16:31 2005
+++ php-src/ext/mysql/tests/001.phpt    Mon Feb  6 14:25:28 2006
@@ -8,11 +8,6 @@
 include 'connect.inc';
 $test = '';
 
-/*** test mysql_connect 127.0.0.1 ***/
-$db = mysql_connect('127.0.0.1', $user, $passwd);
-$test .= ($db) ? '1' : '0';
-mysql_close($db);
-
 /*** test mysql_connect localhost ***/
 $db = mysql_connect($host, $user, $passwd);
 $test .= ($db) ? '1' : '0';
@@ -27,4 +22,4 @@
 
 ?>
 --EXPECT--
-string(3) "111"
+string(2) "11"

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

Reply via email to