Bug #60052 [Com]: Integer returned as a 64bit integer on X64_86
| From: | andreas dot prucha at gmail dot com | Date: | Tue, 23 Sep 2014 04:02:11 +0000 |
| Subject: | Bug #60052 [Com]: Integer returned as a 64bit integer on X64_86 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-187675@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60052&edit=1
ID: 60052
Comment by: andreas dot prucha at gmail dot com
Reported by: m dot vanduren at jonker dot nl
Summary: Integer returned as a 64bit integer on X64_86
Status: Assigned
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 am running into the same problem and it seems that it's still not fixed (at least I do not
find any relevant changes in the repository).
Maybe Firebird is not as popular as other DBMS, but I cannot imagine that nobody needs negative
values in 32bit-integers.
Andreas
Previous Comments:
------------------------------------------------------------------------
[2014-01-15 06:59:48] slavb18 at gmail dot com
bug and patch are three years old, looks like this is not need to anybody
------------------------------------------------------------------------
[2014-01-15 06:58:47] slavb18 at gmail dot com
may be it's time to move to Java with native POJO ? )
------------------------------------------------------------------------
[2014-01-03 02:40:48] papatiger+phpbug at gmail dot com
Why are many serious bugs of pdo.firebird not revised?
I cannot use ORM such as DBAL in Firebird.
------------------------------------------------------------------------
[2013-10-07 08:51:15] mariuz@php.net
I will recheck and apply it (the patch)
------------------------------------------------------------------------
[2013-09-25 18:22:14] slavb18 at gmail dot com
why this patch only partially accepted? still not working on x86-64
$q="select * FROM RDB\$DATABASE";
$q="execute block
returns (
rI integer)
as
begin
rI= -1;
suspend;
end";
$res=$pdo->dbExecute($q);
print_r($res->fetch());
outputs
Array
(
[RI] => 4294967295
[0] => 4294967295
)
istead of
Array
(
[RI] => -1
[0] => -1
)
------------------------------------------------------------------------
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