[PHP-DEV] CVS update: php3/functions From: danny (php-dev <email protected>)
Date: 10/31/98

Date: Saturday October 31, 1998 @ 14:10
Author: danny

Update of /repository/php3/functions
In directory asf:/u2/tmp/cvs-serv15976/functions

Modified Files:
        ifx.ec
Log Message:

Since ifx_num_rows is documented, it might as well work instead of
always returning -1.
It returns the number of rows fetched so far for a particular query.

Index: php3/functions/ifx.ec
diff -c php3/functions/ifx.ec:1.32 php3/functions/ifx.ec:1.33
*** php3/functions/ifx.ec:1.32 Wed Oct 28 10:10:45 1998
--- php3/functions/ifx.ec Sat Oct 31 14:10:29 1998
***************
*** 3037,3043 ****
          RETURN_FALSE;
      }
      
! return_value->value.lval = -1; /* not supported */
      return_value->type = IS_LONG;
  }
  
--- 3037,3043 ----
          RETURN_FALSE;
      }
      
! return_value->value.lval = Ifx_Result->rowid;
      return_value->type = IS_LONG;
  }
  

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>