mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
Fixed Bug #26625 (pg_convert sets NULL incorrectly for character data
types).
This commit is contained in:
parent
4911e83bec
commit
82ec523a75
1 changed files with 1 additions and 1 deletions
|
@ -3789,8 +3789,8 @@ PHP_PGSQL_API int php_pgsql_convert(PGconn *pg_link, const char *table_name, con
|
|||
#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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue