ID:               41429
 Updated by:       [EMAIL PROTECTED]
 Reported By:      idvis at seznam dot cz
-Status:           Open
+Status:           Feedback
 Bug Type:         InterBase related
 Operating System: WinXPPro, Win2000Pro
 PHP Version:      5.2.2
 New Comment:

I don't know which snapshot you tried, but I'm afraid you were testing
previous snap, no the NEXT one.
Please try the snap again.


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

[2007-08-03 10:33:51] idvis at seznam dot cz

I tried this snapshot
http://snaps.php.net/win32/php5.2-win32-latest.zip
and unfortunately I must say,
that the error is not solved.
The same problems, I described above,
"Unrecognized BLOB ID in...".

I still use temporary solution based on replacing
php\ext\php_interbase.dll from php 5.2.1 version.

Tom

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

[2007-08-03 09:52:26] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi

Should be fixed in the snap.

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

[2007-07-19 13:21:02] john dot cxh at gmail dot com

The temporary solution:

find php\ext\php_interbase.dll in php V5.2.1

copy this file to php5.2.3\ext\ overwrite the new version file

I am using php V5.2.3 + apache2.2.4 + WinxpProSP2

test it sucessfully

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

[2007-07-12 20:49:12] kgbfernando at yahoo dot com dot br

PHP Bug? 

See below that the codes is differs from version 5.2.1 to earlier:


The PHP 5.2.1 code 

char *_php_ibase_quad_to_string(ISC_QUAD const qd) /* {{{ */
{
        char *result = (char *) emalloc(BLOB_ID_LEN+1);

        /* shortcut for most common case */
        if (sizeof(ISC_QUAD) == sizeof(ISC_UINT64)) {
                sprintf(result, "0x%0*" LL_MASK "x", 16, *(ISC_UINT64*)(void *)
&qd);
        } else {
                ISC_UINT64 res = ((ISC_UINT64) qd.gds_quad_high << 0x20) |
qd.gds_quad_low;
                sprintf(result, "0x%0*" LL_MASK "x", 16, res);
        }
        result[BLOB_ID_LEN] = '\0';
        return result;
}
/* }}} */




The PHP 5.2.3 or 5.2.2

char *_php_ibase_quad_to_string(ISC_QUAD const qd) /* {{{ */
{
        char *result;

        /* shortcut for most common case */
        if (sizeof(ISC_QUAD) == sizeof(ISC_UINT64)) {
                spprintf(&result, BLOB_ID_LEN+1, "0x%0*" LL_MASK "x", 16,
*(ISC_UINT64*)(void *) &qd);
        } else {
                ISC_UINT64 res = ((ISC_UINT64) qd.gds_quad_high << 0x20) |
qd.gds_quad_low;
                spprintf(&result, BLOB_ID_LEN+1, "0x%0*" LL_MASK "x", 16, res);
        }
        return result;
}
/* }}} */

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

[2007-07-12 19:16:14] [EMAIL PROTECTED]

Confirmed. I can reproduce the bug too.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/41429

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

Reply via email to