cvs: php-src(PHP_5_1) / NEWS /ext/pgsql pgsql.c

From: Date: Sun, 05 Mar 2006 13:35:52 +0000
Subject: cvs: php-src(PHP_5_1) / NEWS /ext/pgsql pgsql.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-37115@lists.php.net to get a copy of this message
tony2001 Sun Mar 5 13:35:52 2006 UTC Modified files: (Branch: PHP_5_1) /php-src/ext/pgsql pgsql.c /php-src NEWS Log: MFH: fix #36606 (pg_query_params() changes arguments type to string) http://cvs.php.net/viewcvs.cgi/php-src/ext/pgsql/pgsql.c?r1=1.331.2.8&r2=1.331.2.9&diff_format=u Index: php-src/ext/pgsql/pgsql.c diff -u php-src/ext/pgsql/pgsql.c:1.331.2.8 php-src/ext/pgsql/pgsql.c:1.331.2.9 --- php-src/ext/pgsql/pgsql.c:1.331.2.8 Sun Jan 1 12:50:12 2006 +++ php-src/ext/pgsql/pgsql.c Sun Mar 5 13:35:52 2006 @@ -20,7 +20,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pgsql.c,v 1.331.2.8 2006/01/01 12:50:12 sniper Exp $ */ +/* $Id: pgsql.c,v 1.331.2.9 2006/03/05 13:35:52 tony2001 Exp $ */ #include <stdlib.h> @@ -257,7 +257,7 @@ static int le_link, le_plink, le_result, le_lofp, le_string; -ZEND_DECLARE_MODULE_GLOBALS(pgsql); +ZEND_DECLARE_MODULE_GLOBALS(pgsql) /* {{{ _php_pgsql_trim_message */ static char * _php_pgsql_trim_message(const char *message, int *len) @@ -1257,7 +1257,7 @@ } otype = (*tmp)->type; - convert_to_string(*tmp); + convert_to_string_ex(tmp); if (Z_TYPE_PP(tmp) != IS_STRING) { php_error_docref(NULL TSRMLS_CC, E_WARNING,"Error converting parameter"); _php_pgsql_free_params(params, num_params); http://cvs.php.net/viewcvs.cgi/php-src/NEWS?r1=1.2027.2.437&r2=1.2027.2.438&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.437 php-src/NEWS:1.2027.2.438 --- php-src/NEWS:1.2027.2.437 Fri Mar 3 09:20:33 2006 +++ php-src/NEWS Sun Mar 5 13:35:52 2006 @@ -36,6 +36,7 @@ - Fixed tiger hash algorithm generating wrong results on big endian platforms. (Mike) - Fixed crash with DOMImplementation::createDocumentType("name:"). (Mike) +- Fixed bug #36606 (pg_query_params() changes arguments type to string). (Tony) - Fixed bug #36599 (DATE_W3C format constant incorrect). (Derick) - Fixed bug #36575 (SOAP: Incorrect complex type instantiation with hierarchies). (Dmitry)

« previous php.cvs (#37115) next »