Author: ahristov
Date: 2008-02-06 16:33:15 +0100 (Wed, 06 Feb 2008)
New Revision: 1260
Modified:
trunk/tests/ext/mysql/mysql_connect.phpt
Log:
Fix a test
Modified: trunk/tests/ext/mysql/mysql_connect.phpt
===================================================================
--- trunk/tests/ext/mysql/mysql_connect.phpt 2008-02-06 14:05:47 UTC (rev 1259)
+++ trunk/tests/ext/mysql/mysql_connect.phpt 2008-02-06 15:33:15 UTC (rev 1260)
@@ -81,18 +81,8 @@
}
}
-/* we don't care if we can connect or not, this is just to test the different connect
syntax variants */
-$myhost = sprintf('%s:%d', $host, $port - 100);
-if ($link = mysql_connect($myhost, $user, $passwd, true))
- mysql_close($link);
-
-/* interesting, isn't it? */
-$myhost = sprintf('%s:%d:%s', $host, $port - 100, $socket);
-if ($link = mysql_connect($myhost, $user, $passwd, true))
- mysql_close($link);
-
print "done!";
?>
--EXPECTF--
Warning: mysql_connect(): Access denied for user '%s'@'%s' (using password: YES) in %s on
line %d
-done!
\ No newline at end of file
+done!
| Thread |
|---|
| • PHP mysqlnd svn commit: r1260 - trunk/tests/ext/mysql | ahristov | 6 Feb |