php.net |  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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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 ...

<?php

$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

Patches

Pull Requests

History

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: Thu Dec 26 10:01:29 2024 UTC