php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16571 PHP fails to retrieve DECIMAL or NUMERIC values correctly from Interbase
Submitted: 2002-04-12 13:05 UTC Modified: 2002-04-12 19:55 UTC
From: frank dot segtrop at estiem dot org Assigned:
Status: Closed Package: InterBase related
PHP Version: 4.1.2 OS: WindowsNT SP 6a
Private report: No CVE-ID: None
 [2002-04-12 13:05 UTC] frank dot segtrop at estiem dot org
Hi!

PHP still fails to correctly retrieve DECIMAL or NUMERIC colums from Interbase on WindowsNT.

After the point, it returns the precision of the DECIMAL instead of the actual value. That error seems to be quite old now, could a fix finally be made part of the Windows executables?

A possible fix, by the way, is to use the F_FIXED_POINT UDF function from the FreeUDFLib, or casting the columns into Strings before PHP gets them, so still in the SELECT statement or the stored_procedure or the view. But, that is not very handy, so please fix that bug.

Thanks,
Frank

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-12 19:17 UTC] daniela@php.net
It 's already fixed.
The new php_interbase.dll should be in Official Release Candidate planned on April 22th.

Daniela
 [2002-04-12 19:55 UTC] sniper@php.net
The actual release should happen on 22nd. :)
But you can already get the RC3 from here:

http://www.php.net/~derick/

 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Aug 08 00:05:45 2022 UTC