yohgaki Sun Feb 9 02:50:31 2003 EDT
Modified files: (Branch: PHP_4_3)
/php4/ext/pgsql pgsql.c
Log:
MFH
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.244.2.8 php4/ext/pgsql/pgsql.c:1.244.2.9
--- php4/ext/pgsql/pgsql.c:1.244.2.8 Sun Feb 9 02:24:36 2003
+++ php4/ext/pgsql/pgsql.c Sun Feb 9 02:50:31 2003
@@ -19,7 +19,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pgsql.c,v 1.244.2.8 2003/02/09 07:24:36 yohgaki Exp $ */
+/* $Id: pgsql.c,v 1.244.2.9 2003/02/09 07:50:31 yohgaki Exp $ */
#include <stdlib.h>
@@ -2979,7 +2979,7 @@
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);
}
/* }}} */
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php