scottmac                Mon May 14 18:09:20 2007 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    NEWS 
    /php-src/ext/mysql  php_mysql.c 
  Log:
  Prefix NEWS item so documentation team know of new function and typo from old 
parsing API spotted by bjori
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.701&r2=1.2027.2.547.2.702&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.701 php-src/NEWS:1.2027.2.547.2.702
--- php-src/NEWS:1.2027.2.547.2.701     Mon May 14 17:10:46 2007
+++ php-src/NEWS        Mon May 14 18:09:19 2007
@@ -1,7 +1,7 @@
 PHP                                                                        NEWS
 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
 ?? ??? 2007, PHP 5.2.3
-- Added function mysql_set_charset(). Allows connection encoding to be altered
+- [DOC] Added function mysql_set_charset(). Allows connection encoding to be 
altered
   at run time. (Scott)
 - Allow SOAP extension's handler() to work even when
   always_populate_raw_post_data is off. (Ilia)
http://cvs.php.net/viewvc.cgi/php-src/ext/mysql/php_mysql.c?r1=1.213.2.6.2.11&r2=1.213.2.6.2.12&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.11 
php-src/ext/mysql/php_mysql.c:1.213.2.6.2.12
--- php-src/ext/mysql/php_mysql.c:1.213.2.6.2.11        Mon May 14 17:10:46 2007
+++ php-src/ext/mysql/php_mysql.c       Mon May 14 18:09:20 2007
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
 */
  
-/* $Id: php_mysql.c,v 1.213.2.6.2.11 2007/05/14 17:10:46 scottmac Exp $ */
+/* $Id: php_mysql.c,v 1.213.2.6.2.12 2007/05/14 18:09:20 scottmac Exp $ */
 
 /* TODO:
  *
@@ -1141,7 +1141,7 @@
        php_mysql_conn *mysql;
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|r", &csname, 
&csname_len, &mysql_link) == FAILURE) {
-               WRONG_PARAM_COUNT;
+               return;
        }
 
        if (ZEND_NUM_ARGS() == 1) {

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to