iliaa Mon Dec 15 20:00:47 2003 EDT Modified files: (Branch: PHP_4_3) /php-src NEWS /php-src/ext/pgsql pgsql.c Log: MFH: Fixed Bug #26625 (pg_convert sets NULL incorrectly for character data types). Index: php-src/NEWS diff -u php-src/NEWS:1.1247.2.503 php-src/NEWS:1.1247.2.504 --- php-src/NEWS:1.1247.2.503 Mon Dec 15 15:34:56 2003 +++ php-src/NEWS Mon Dec 15 20:00:44 2003 @@ -9,6 +9,8 @@ send_default_content_type now sends value from php.ini). (Uwe Schindler) - Fixed bug #26635 (fixed look up for fonts in the current directory w/ZTS). (Ilia) +- Fixed Bug #26625 (pg_convert sets NULL incorrectly for character data + types). (Ilia) - Fixed bug #26604 (Apache2 SAPIs implicitly disable Keep-Alive). (Ilia) - Fixed bug #26595 (ext/domxml: XSLT_NAMESPACE undeclared). (Christian) - Fixed bug #26565 (strtotime("this month") resolving to the wrong month). Index: php-src/ext/pgsql/pgsql.c diff -u php-src/ext/pgsql/pgsql.c:1.244.2.29 php-src/ext/pgsql/pgsql.c:1.244.2.30 --- php-src/ext/pgsql/pgsql.c:1.244.2.29 Thu Dec 11 05:06:12 2003 +++ php-src/ext/pgsql/pgsql.c Mon Dec 15 20:00:45 2003 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pgsql.c,v 1.244.2.29 2003/12/11 10:06:12 edink Exp $ */ +/* $Id: pgsql.c,v 1.244.2.30 2003/12/16 01:00:45 iliaa Exp $ */ #include <stdlib.h> @@ -3648,8 +3648,8 @@ #else Z_STRVAL_P(new_val) = php_addslashes(Z_STRVAL_PP(val), Z_STRLEN_PP(val), &Z_STRLEN_P(new_val), 0 TSRMLS_CC); #endif + php_pgsql_add_quotes(new_val, 1 TSRMLS_CC); } - php_pgsql_add_quotes(new_val, 1 TSRMLS_CC); break; case IS_LONG:
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php