#39056 [Opn->Fbk]: Interbase NUMERIC data type error

From: Date: Fri, 06 Oct 2006 06:50:22 +0000
Subject: #39056 [Opn->Fbk]: Interbase NUMERIC data type error
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-103174@lists.php.net to get a copy of this message
 ID:               39056
 Updated by:       tony2001@php.net
 Reported By:      ddi at elecom dot ru
-Status:           Open
+Status:           Feedback
 Bug Type:         InterBase related
 Operating System: All
 PHP Version:      5.1.6
 New Comment:

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.





Previous Comments:
------------------------------------------------------------------------

[2006-10-06 06:26:52] 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) };




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39056&edit=1


Thread (3 messages)

« previous php.bugs (#103174) next »