|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #949 informix function bug! => ifx_affected_rows
Submitted: 1998-11-24 01:43 UTC Modified: 1999-06-20 20:11 UTC
From: youngtk at www dot dm dot co dot kr Assigned:
Status: Closed Package: Other
PHP Version: 3.0.5 OS: AIX 4.2.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: youngtk at www dot dm dot co dot kr
New email:
PHP Version: OS:


 [1998-11-24 01:43 UTC] youngtk at www dot dm dot co dot kr
Here is my source ...


$conn = ifx_connect("stores7@test","informix","test");
$query = "SELECT * FROM customers";

$rid = ifx_query($query,$conn);
$rowcount = ifx_affected_rows($rid);

echo $rowcount;


The value of $rowcount is 1!  Why? The real row count is 150!

My Configuration is ...

configure  --prefix=/home --with-apache=/home/tmp/apache_1.3.3 --with-gd=no --with-mysql=/home/mysql --with-informix=/usr/inf --with-imap=/home --with-config-file-path=/home/etc --with-exec-dir=/home/libexec --enable-track-vars=yes --enable-memory-limit=yes


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-20 20:11 UTC] jim at cvs dot php dot net
The results of this function on SELECT queries
isn't guaranteed, as explained in the documentation.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 22 07:01:29 2024 UTC