diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2002-04-08 04:21:04 +0000 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2002-04-08 04:21:04 +0000 |
commit | 34625daf185b8f60c724aac9e3eff9d3786cd046 (patch) | |
tree | 2e466acc2596621bbd3d730a6feb2a763d7e4334 /ext/pgsql/pgsql.c | |
parent | 2a1e0a53bbfbb556eec5adb821f825917e3ee5b5 (diff) | |
download | php-git-34625daf185b8f60c724aac9e3eff9d3786cd046.tar.gz |
Remove unneeded conversions from pg_convert.
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r-- | ext/pgsql/pgsql.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 01dd187e9e..51fe1ef421 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -3107,7 +3107,6 @@ PHPAPI int php_pgsql_convert(PGconn *pg_link, const char *table_name, const zval } else { ZVAL_STRING(new_val, Z_STRVAL_PP(val), 1); - convert_to_long_ex(&new_val); } } break; @@ -3150,14 +3149,12 @@ PHPAPI int php_pgsql_convert(PGconn *pg_link, const char *table_name, const zval } else { ZVAL_STRING(new_val, Z_STRVAL_PP(val), 1); - convert_to_double_ex(&new_val); } } break; case IS_LONG: ZVAL_LONG(new_val, Z_DVAL_PP(val)); - convert_to_double_ex(&new_val); break; case IS_DOUBLE: |