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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Mar 29 14:01:28 2024 UTC