php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39056 Interbase NUMERIC data type error
Submitted: 2006-10-06 06:26 UTC Modified: 2007-11-08 19:47 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: ddi at elecom dot ru Assigned:
Status: Closed Package: InterBase related
PHP Version: 5.1.6 OS: All
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ddi at elecom dot ru
New email:
PHP Version: OS:

 

 [2006-10-06 06:26 UTC] ddi at elecom dot ru
Description:
------------
The _php_ibase_var_zval function of ibase_query.c has error:

static ISC_INT64 const scales[] = { 1, 10, 100, 1000,
 10000,
 100000, 
 1000000, 
 100000000, 
 1000000000, 
 1000000000, LL_LIT
(10000000000),LL_LIT
(100000000000),LL_LIT
(10000000000000),LL_LIT
(100000000000000),LL_LIT
(1000000000000000),LL_LIT
(1000000000000000),LL_LIT
(1000000000000000000) };

Must be

static ISC_INT64 const scales[] = { 1, 10, 100, 1000,
 10000,
 100000, 
 1000000, 
 10000000, 
 100000000, 
 1000000000, LL_LIT
(10000000000),LL_LIT
(100000000000),LL_LIT
(1000000000000),LL_LIT
(10000000000000),LL_LIT
(100000000000000),LL_LIT
(1000000000000000),LL_LIT
(10000000000000000) };



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-06 06:50 UTC] tony2001@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.



 [2006-10-14 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2007-11-08 19:47 UTC] lwe@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

Fixed in HEAD and PHP_5_3
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC