ID: 41025 Updated by: [EMAIL PROTECTED] Reported By: aesthete at telecenter dot ru -Status: Open +Status: Assigned Bug Type: InterBase related Operating System: Win XP sp2 PHP Version: 5CVS-2007-04-08 (snap) -Assigned To: +Assigned To: helly New Comment:
Marcus, your patch causes this: http://cvs.php.net/viewvc.cgi/php-src/ext/interbase/ibase_query.c?r1=1.30&r2=1.31 Previous Comments: ------------------------------------------------------------------------ [2007-04-09 19:46:13] aesthete at telecenter dot ru Ok ... some statistic to php versions and this bug: Linux (FC6): linux stable php5.2.1.tar.bz2 - ok. linux snap php5.2-200704091630.tar.bz2 - ok. Windows XP sp2: win32 stable php-5.2.1-Win32.zip - ok. win32 snap php5.2-win32-200704091630.zip - BUG!!! php.ini in all test was the same. What about bug which I found: http://bugs.php.net/bug.php?id=34158 ... Will it be corrected? ------------------------------------------------------------------------ [2007-04-09 07:48:31] [EMAIL PROTECTED] Please check if PHP 5.2.1 works for you. There were several changes to sprintf() utilities and they might have affected it. ------------------------------------------------------------------------ [2007-04-08 23:00:09] aesthete at telecenter dot ru Description: ------------ I have some code: ... $sth = ibase_query('SELECT GEN_ID(GEN_DOSTAVKA_ID,1) FROM RDB$DATABASE'); $row = ibase_fetch_assoc($sth); // return only one row $current_dostavka_id = $row['GEN_ID']; echo $current_dostavka_id; ... On my WinXP sp2 machine with snaped php5.2-win32-200704082030 the ptinted value $current_dostavka_id is wrong and always the same: %I64d The right result must be: 7120, 7121, ... for each script execution. On linux snap php5.2-200704082030.tar.bz2 everything ok. On php-5.2.1-Win32 everything ok. And what about bug which I found: http://bugs.php.net/bug.php?id=34158 ... Will it be corrected? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=41025&edit=1