Edit report at https://bugs.php.net/bug.php?id=60052&edit=1
ID: 60052
Updated by: mariuz@php.net
Reported by: m dot vanduren at jonker dot nl
Summary: Integer returned as a 64bit integer on X64_86
Status: Closed
Type: Bug
Package: PDO Firebird
Operating System: All (linux tested)
PHP Version: 5.3.8
Assigned To: mariuz
Block user comment: N
Private report: N
New Comment:
I have reverted that patch , it wasn't needed
https://github.com/php/php-src/commit/8da575231101e240db0670cd9f3105e9cb07e071
Previous Comments:
------------------------------------------------------------------------
[2015-12-04 10:34:19] slavb18 at gmail dot com
we are using php5-bug60052.patch with single change since 2013-09-26, no problems
------------------------------------------------------------------------
[2015-12-04 10:09:09] matthew dot jones at ramtech dot co dot uk
The commited patch doesn't work. The change bellow appends "ld" to the number.
- *len = slprintf(*ptr, CHAR_BUF_LEN, "%" LL_MASK "d",
*(ISC_INT64*)var->sqldata);
+ *len = slprintf(*ptr, CHAR_BUF_LEN, "%ld" LL_MASK "d",
*(ISC_INT64*)var->sqldata);
I think just the single change in the earlier patch is required. At least that worked for me.
------------------------------------------------------------------------
[2015-12-03 14:26:10] mariuz@php.net
Automatic comment on behalf of mapopa@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4173a667fab0c77d1704a6b9d9a8e6ab1209ff72
Log: Fix Bug #60052 Integer returned as a 64bit integer on X64_86 for pdo_firebird
------------------------------------------------------------------------
[2015-12-03 14:25:32] mariuz@php.net
Automatic comment on behalf of mapopa@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4173a667fab0c77d1704a6b9d9a8e6ab1209ff72
Log: Fix Bug #60052 Integer returned as a 64bit integer on X64_86 for pdo_firebird
------------------------------------------------------------------------
[2015-12-03 14:16:23] mariuz@php.net
Automatic comment on behalf of mapopa@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=4173a667fab0c77d1704a6b9d9a8e6ab1209ff72
Log: Fix Bug #60052 Integer returned as a 64bit integer on X64_86 for pdo_firebird
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=60052
--
Edit this bug report at https://bugs.php.net/bug.php?id=60052&edit=1