#45120 [Opn->Csd]: PDOStatement->execute() returns true then false for same statement

From: Date: Thu, 03 Dec 2009 15:25:27 +0000
Subject: #45120 [Opn->Csd]: PDOStatement->execute() returns true then false for same statement
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-145368@lists.php.net to get a copy of this message
 ID:               45120
 Updated by:       pierrick@php.net
 Reported By:      morrisdavidd at gmail dot com
-Status:           Open
+Status:           Closed
 Bug Type:         PDO related
 Operating System: Linux
 PHP Version:      5.3
 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.




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

[2009-12-03 15:24:44] svn@php.net

Automatic comment from SVN on behalf of pierrick
Revision: http://svn.php.net/viewvc/?view=revision&revision=291657
Log: Fixed bug #45120 (PDOStatement->execute() returns true then false
for same statement).

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

[2009-10-08 09:53:20] mbeccati@php.net

Looks like I was wrong. The exisitng test was passing with the pgsql
because of bug #48764 (setAttribute wasn't working do disable native
prepared statements). Once fixed, the test fails on pgsql too,
suggesting a problem in PDO itself, like others already mentioned.

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

[2009-10-07 14:51:09] mbeccati@php.net

The bug is reproducible only with the MySQL driver when using emulated
prepared queries, which is the default. I've tested PgSQL and Sqlite and
both work as expected.

There's also a pdo_mysql test for it, already marked as XFAIL:
http://svn.php.net/viewvc/php/php-src/branches/PHP_5_3/ext/pdo_mysql/tests/bug_45120.phpt?view=markup

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

[2009-07-28 07:10:10] morrisdavidd at gmail dot com

Sorry for the late reply,

I just duplicated this bug in PHP 5.3

Cheers,
David)

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

[2009-05-03 01:00:13] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

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

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/45120

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



Thread (8 messages)

« previous php.bugs (#145368) next »