diff options
| author | Yasuo Ohgaki <yohgaki@php.net> | 2003-02-09 07:50:31 +0000 |
|---|---|---|
| committer | Yasuo Ohgaki <yohgaki@php.net> | 2003-02-09 07:50:31 +0000 |
| commit | f834ec6410806281392fa8688a30507197659b0e (patch) | |
| tree | a64fa05a57d8639ac129d17b552b150a917b15d4 | |
| parent | 7ce83ed0ca3770c1e8d07e0fe95036f573610287 (diff) | |
| download | php-git-f834ec6410806281392fa8688a30507197659b0e.tar.gz | |
MFH
| -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 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); } /* }}} */ |
