cvs: php-src /ext/mysql/tests 001.phpt
| From: | Jani Taskinen | Date: | Mon, 20 Jun 2005 00:16:32 +0000 |
| Subject: | cvs: php-src /ext/mysql/tests 001.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-32402@lists.php.net to get a copy of this message | ||
sniper Sun Jun 19 20:16:32 2005 EDT
Modified files:
/php-src/ext/mysql/tests 001.phpt
Log:
This is not mysqli, where 5th parameter is port.
http://cvs.php.net/diff.php/php-src/ext/mysql/tests/001.phpt?r1=1.2&r2=1.3&ty=u
Index: php-src/ext/mysql/tests/001.phpt
diff -u php-src/ext/mysql/tests/001.phpt:1.2 php-src/ext/mysql/tests/001.phpt:1.3
--- php-src/ext/mysql/tests/001.phpt:1.2 Fri Jan 16 10:16:26 2004
+++ php-src/ext/mysql/tests/001.phpt Sun Jun 19 20:16:31 2005
@@ -19,7 +19,7 @@
mysql_close($db);
/*** test mysql_connect localhost:port ***/
-$db = mysql_connect($host, $user, $passwd, '', 3306);
+$db = mysql_connect("{$host}:3306", $user, $passwd, '');
$test .= ($db) ? '1' : '0';
mysql_close($db);