From 8e7b44c7f39b4c974b0b7766b1adacd005bfe77d Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 6 Feb 2006 14:25:28 +0000 Subject: [PATCH] MFB51: Fixed test to work when TCP/IP access to MySQL is disabled or test server is on a remote machine. --- ext/mysql/tests/001.phpt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/ext/mysql/tests/001.phpt b/ext/mysql/tests/001.phpt index 8a7c9d22c8..4f79ae3efa 100755 --- a/ext/mysql/tests/001.phpt +++ b/ext/mysql/tests/001.phpt @@ -8,11 +8,6 @@ mysql connect 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 @@ var_dump($test); ?> --EXPECT-- -string(3) "111" +string(2) "11" -- 2.40.0