From: Yasuo Ohgaki Date: Sun, 9 Feb 2003 07:50:31 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.2RC1~309 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f834ec6410806281392fa8688a30507197659b0e;p=php MFH --- diff --git a/ext/pgsql/pgsql.c b/ext/pgsql/pgsql.c index 32b3f84de1..4111bc531a 100644 --- a/ext/pgsql/pgsql.c +++ b/ext/pgsql/pgsql.c @@ -2979,7 +2979,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); } /* }}} */