yohgaki         Sun Feb  9 02:50:16 2003 EDT

  Modified files:              
    /php4/ext/pgsql     pgsql.c 
  Log:
  Fixed one more improper row offset handling.
  
  
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgsql.c:1.259 php4/ext/pgsql/pgsql.c:1.260
--- php4/ext/pgsql/pgsql.c:1.259        Sun Feb  9 02:24:18 2003
+++ php4/ext/pgsql/pgsql.c      Sun Feb  9 02:50:16 2003
@@ -19,7 +19,7 @@
    +----------------------------------------------------------------------+
  */
  
-/* $Id: pgsql.c,v 1.259 2003/02/09 07:24:18 yohgaki Exp $ */
+/* $Id: pgsql.c,v 1.260 2003/02/09 07:50:16 yohgaki Exp $ */
 
 #include <stdlib.h>
 
@@ -2975,7 +2975,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

Reply via email to