Author: uwendel
Date: 2007-06-28 17:47:36 +0200 (Thu, 28 Jun 2007)
New Revision: 577
Modified:
trunk/php5/ext/mysql/php_mysql.c
Log:
Old fellow - Andrey had reminded me of it in the morning but I was sure it's not in PHP5,
however, two failures less.
Modified: trunk/php5/ext/mysql/php_mysql.c
===================================================================
--- trunk/php5/ext/mysql/php_mysql.c 2007-06-28 15:33:13 UTC (rev 576)
+++ trunk/php5/ext/mysql/php_mysql.c 2007-06-28 15:47:36 UTC (rev 577)
@@ -638,7 +638,7 @@
/* We cannot use mysql_port anymore in windows, need to use
* mysql_real_connect() to set the port.
*/
- if (host_len && (tmp=strchr(host_and_port, ':'))) {
+ if (host_and_port && (tmp=strchr(host_and_port, ':'))) {
host = estrndup(host_and_port, tmp-host_and_port);
free_host = 1;
tmp++;
| Thread |
|---|
| • PHP mysqlnd svn commit: r577 - trunk/php5/ext/mysql | uwendel | 28 Jun |