com php-src: Fixed bug #68638 pg_update() fails to store infinite values Fix indent: ext/pgsql/pgsql .c

From: Date: Fri, 13 Feb 2015 01:39:54 +0000
Subject: com php-src: Fixed bug #68638 pg_update() fails to store infinite values Fix indent: ext/pgsql/pgsql .c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-84882@lists.php.net to get a copy of this message
Commit: 0421404b7322167cdc7e3b5232757ce4a7bc7e11 Author: William Felipe Welter <william.welter@4linux.com.br> Thu, 12 Feb 2015 23:39:54 -0200 Parents: 60d5cdf1379950afde23de10acc964e7fc34145b Branches: PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0421404b7322167cdc7e3b5232757ce4a7bc7e11 Log: Fixed bug #68638 pg_update() fails to store infinite values Fix indent Bugs: https://bugs.php.net/68638 Changed paths: M ext/pgsql/pgsql.c Diff: diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index d8c99f2..4588278 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -5591,7 +5591,7 @@ PHP_PGSQL_API int php_pgsql_convert(PGconn *pg_link, const char *table_name, con else { /* FIXME: better regex must be used */ if (php_pgsql_convert_match(Z_STRVAL_PP(val), Z_STRLEN_PP(val), "^([+-]{0,1}[0-9]+)|([+-]{0,1}[0-9]*[\\.][0-9]+)|([+-]{0,1}[0-9]+[\\.][0-9]*)|([+-]{0,1}(inf)(inity){0,1})$", 1 TSRMLS_CC) == FAILURE) { - err = 1; + err = 1; } else { ZVAL_STRING(new_val, Z_STRVAL_PP(val), 1);

« previous php.cvs (#84882) next »