PHP 4.0 Bug #2810 Updated: Severe problems with Informix support
| From: | Bug Database | Date: | Wed, 24 Nov 1999 20:24:34 +0000 |
| Subject: | PHP 4.0 Bug #2810 Updated: Severe problems with Informix support | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-13084@lists.php.net to get a copy of this message | ||
ID: 2810
Updated by: danny
Reported By: ltning@mo.himolde.no
Status: Closed
Bug Type: Other
Assigned To:
Comments:
Please read the PHP manual on ifx_affected_rows() and on ifx_num_rows().
Even better: read the Informix documentation on the sqlca structure ,
in particular on the sqlca.sqlerrd[0] value after a prepare statement.
Also a search of the PHP news archives would tell you a lot about this
particular topic.
It all boils down to the fact that all you are going to get is an estimate
by the optimizer. It will be wildly off if you don't use "update statistics"
regularly, and will never be very accurate.
As for IDS 2000 server support: I have not tried it yet, but if ifx_htmltbl_result() works,
then so should ifx_fetch_row(), they use the same code internally.
Danny
---
Full Bug description available at: http://bugs.php.net/version4/?id=2810