Re: cvs: php4 /ext/odbc php_odbc.c

From: Date: Tue, 13 Aug 2002 07:14:53 +0000
Subject: Re: cvs: php4 /ext/odbc php_odbc.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13306@lists.php.net to get a copy of this message
At 02:45 13.08.2002, Dan Kalowsky wrote:
kalowsky                Mon Aug 12 20:45:09 2002 EDT
Modified files:
    /php4/ext/odbc      php_odbc.c
Log: Let to php_error_docref revolution begin -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
if docref is only the function name you do not need to set it. somply set it to NULL php_error_docref() does the rest for you. However the following wasn't intended (old style error and loosing return), was it? @@ -1135,8 +1135,7 @@
        }
        if (zend_get_parameters_ex(2, &zv_conn, &zv_fetch_type) == FAILURE) {
-               php_error(E_WARNING, "Unable to get parameters");
-               RETURN_FALSE;
+               php_error(E_WARNING, "%s(): Unable to get parameters", get_active_function_name(TSRMLS_C));
        }
marcus

« previous php.cvs (#13306) next »