cvs: php-src(PHP_5_3) /ext/mysql php_mysql.c
| From: | Hannes Magnusson | Date: | Sun, 20 Jan 2008 14:10:44 +0000 |
| Subject: | cvs: php-src(PHP_5_3) /ext/mysql php_mysql.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-47921@lists.php.net to get a copy of this message | ||
bjori Sun Jan 20 14:10:44 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/mysql php_mysql.c
Log:
MFH: Fixed bug#43875 (Two error messages returned for $new and $flag argument in mysql_connect())
http://cvs.php.net/viewvc.cgi/php-src/ext/mysql/php_mysql.c?r1=1.213.2.6.2.16.2.7&r2=1.213.2.6.2.16.2.8&diff_format=u
Index: php-src/ext/mysql/php_mysql.c
diff -u php-src/ext/mysql/php_mysql.c:1.213.2.6.2.16.2.7
php-src/ext/mysql/php_mysql.c:1.213.2.6.2.16.2.8
--- php-src/ext/mysql/php_mysql.c:1.213.2.6.2.16.2.7 Mon Dec 31 07:17:10 2007
+++ php-src/ext/mysql/php_mysql.c Sun Jan 20 14:10:44 2008
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_mysql.c,v 1.213.2.6.2.16.2.7 2007/12/31 07:17:10 sebastian Exp $ */
+/* $Id: php_mysql.c,v 1.213.2.6.2.16.2.8 2008/01/20 14:10:44 bjori Exp $ */
/* TODO:
*
@@ -646,7 +646,7 @@
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s!s!s!ll", &host_and_port,
&host_len,
&user, &user_len, &passwd, &passwd_len,
&new_link, &client_flags)==FAILURE) {
- WRONG_PARAM_COUNT;
+ return;
}
if (!host_and_port) {