From:             ddi at elecom dot ru
Operating system: All
PHP version:      5.1.6
PHP Bug Type:     InterBase related
Bug description:  Interbase NUMERIC data type error

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 bug report at http://bugs.php.net/?id=39056&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39056&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39056&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39056&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39056&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39056&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39056&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39056&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39056&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39056&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39056&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39056&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39056&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39056&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39056&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39056&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39056&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39056&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39056&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39056&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39056&r=mysqlcfg

Reply via email to