helly           Wed May 10 00:00:13 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/pgsql  pgsql.c 
  Log:
  - Update after api changes
  
http://cvs.php.net/viewcvs.cgi/php-src/ext/pgsql/pgsql.c?r1=1.331.2.13.2.1&r2=1.331.2.13.2.2&diff_format=u
Index: php-src/ext/pgsql/pgsql.c
diff -u php-src/ext/pgsql/pgsql.c:1.331.2.13.2.1 
php-src/ext/pgsql/pgsql.c:1.331.2.13.2.2
--- php-src/ext/pgsql/pgsql.c:1.331.2.13.2.1    Sun May  7 00:28:32 2006
+++ php-src/ext/pgsql/pgsql.c   Wed May 10 00:00:13 2006
@@ -20,7 +20,7 @@
    +----------------------------------------------------------------------+
  */
  
-/* $Id: pgsql.c,v 1.331.2.13.2.1 2006/05/07 00:28:32 edink Exp $ */
+/* $Id: pgsql.c,v 1.331.2.13.2.2 2006/05/10 00:00:13 helly Exp $ */
 
 #include <stdlib.h>
 
@@ -2107,7 +2107,7 @@
                                         * single value is an array. Also we'd 
have to make that one
                                         * argument passed by reference.
                                         */
-                                       
zend_throw_exception(zend_exception_get_default(), "Parameter ctor_params must 
be an array", 0 TSRMLS_CC);
+                                       
zend_throw_exception(zend_exception_get_default(TSRMLS_C), "Parameter 
ctor_params must be an array", 0 TSRMLS_CC);
                                        return;
                                }
                        } else {
@@ -2122,7 +2122,7 @@
                        fcc.object_pp = &return_value;
                
                        if (zend_call_function(&fci, &fcc TSRMLS_CC) == 
FAILURE) {
-                               
zend_throw_exception_ex(zend_exception_get_default(), 0 TSRMLS_CC, "Could not 
execute %s::%s()", ce->name, ce->constructor->common.function_name);
+                               
zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, 
"Could not execute %s::%s()", ce->name, ce->constructor->common.function_name);
                        } else {
                                if (retval_ptr) {
                                        zval_ptr_dtor(&retval_ptr);
@@ -2132,7 +2132,7 @@
                                efree(fci.params);
                        }
                } else if (ctor_params) {
-                       zend_throw_exception_ex(zend_exception_get_default(), 0 
TSRMLS_CC, "Class %s does not have a constructor hence you cannot use 
ctor_params", ce->name);
+                       
zend_throw_exception_ex(zend_exception_get_default(TSRMLS_C), 0 TSRMLS_CC, 
"Class %s does not have a constructor hence you cannot use ctor_params", 
ce->name);
                }
        }
 }

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

Reply via email to