diff options
author | Yasuo Ohgaki <yohgaki@php.net> | 2003-02-09 07:50:16 +0000 |
---|---|---|
committer | Yasuo Ohgaki <yohgaki@php.net> | 2003-02-09 07:50:16 +0000 |
commit | 7f81a4a62f97e5f848c4f3ad51f95beaa92ef37a (patch) | |
tree | 05e34dbad71e9aa0031385569c4c2a7c80c50f8a /ext/pgsql/pgsql.c | |
parent | ac16adae0a8eb34721124167196a26857801c58c (diff) | |
download | php-git-7f81a4a62f97e5f848c4f3ad51f95beaa92ef37a.tar.gz |
Fixed one more improper row offset handling.
Diffstat (limited to 'ext/pgsql/pgsql.c')
-rw-r--r-- | ext/pgsql/pgsql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index c4176596df..f7fe878d83 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -2975,7 +2975,7 @@ PHP_FUNCTION(pg_get_result) pg_result = (pgsql_result_handle *) emalloc(sizeof(pgsql_result_handle)); pg_result->conn = pgsql; pg_result->result = pgsql_result; - pg_result->row = -1; + pg_result->row = 0; ZEND_REGISTER_RESOURCE(return_value, pg_result, le_result); } /* }}} */ |