Bug #52699 [Opn->Csd]: PDO bindValue writes long int 32bit enum.
| From: | felipe@php.net | Date: | Wed, 25 Aug 2010 22:03:55 +0000 |
| Subject: | Bug #52699 [Opn->Csd]: PDO bindValue writes long int 32bit enum. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-153793@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=52699&edit=1
ID: 52699
Updated by: felipe@php.net
Reported by: rein at basefarm dot no
Summary: PDO bindValue writes long int 32bit enum.
-Status: Open
+Status: Closed
Type: Bug
Package: PDO related
Operating System: Solaris10 on sparc
PHP Version: 5.3.3
-Assigned To:
+Assigned To: felipe
Block user comment: N
New Comment:
This bug has been fixed in SVN.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Thanks for the patch!
Previous Comments:
------------------------------------------------------------------------
[2010-08-26 00:03:05] felipe@php.net
Automatic comment from SVN on behalf of felipe
Revision: http://svn.php.net/viewvc/?view=revision&revision=302783
Log: - Fixed bug #52699 (PDO bindValue writes long int 32bit enum)
------------------------------------------------------------------------
[2010-08-25 16:53:08] rein at basefarm dot no
Description:
------------
PDO bindValue parses a long argument into param.param_type, a 32-bit
enum variable. On 64bit big-endian systems like solaris10/sparc this
causes the param_type to always end up as null.
A patch that fixes it is coming. The following tests fails on
solaris10/sparc without this patch:
ext/pdo_sqlite/tests/bug_39398.phpt
ext/pdo_sqlite/tests/bug_39656.phpt
ext/pdo_sqlite/tests/debugdumpparams_001.phpt
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=52699&edit=1