Bug #61207 [Com]: PDO::nextRowset() after a multi-statement query doesn't always work

From: Date: Fri, 16 May 2014 17:02:49 +0000
Subject: Bug #61207 [Com]: PDO::nextRowset() after a multi-statement query doesn't always work
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185839@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61207&edit=1

 ID:                 61207
 Comment by:         norbert at linuxnetworks dot de
 Reported by:        acabal at ucla dot edu
 Summary:            PDO::nextRowset() after a multi-statement query
                     doesn't always work
 Status:             Closed
 Type:               Bug
 Package:            PDO related
 Operating System:   Ubuntu 11.10 64-bit
 PHP Version:        5.4.0RC8
 Assigned To:        mysql
 Block user comment: N
 Private report:     N

 New Comment:

The fix might have introduced another problem. Executing a SQL query with multiple select statements
won't return two result sets:

select * from testtable; select * from testtable

It also doesn't matter if both statements are the same. This SQL string doesn't work also:

select * from testtable; select * from testtable where 1

PHP 5.3.10 works fine, later versions up to 5.3.27 won't. The result using PHP 5.4.27 and
5.5.11 is also OK and both result sets are returned.


Previous Comments:
------------------------------------------------------------------------
[2013-11-17 09:33:25] laruence@php.net

Automatic comment on behalf of johannes
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5c896b344a761c597a2decda14e25375f3b69ef3
Log: Fix Bug #61207 PDO::nextRowset() after a multi-statement query doesn't always work

------------------------------------------------------------------------
[2012-07-24 23:36:49] rasmus@php.net

Automatic comment on behalf of johannes
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5c896b344a761c597a2decda14e25375f3b69ef3
Log: Fix Bug #61207 PDO::nextRowset() after a multi-statement query doesn't always work

------------------------------------------------------------------------
[2012-04-18 09:45:37] laruence@php.net

Automatic comment on behalf of johannes
Revision: http://git.php.net/?p=php-src.git;a=commit;h=5c896b344a761c597a2decda14e25375f3b69ef3
Log: Fix Bug #61207 PDO::nextRowset() after a multi-statement query doesn't always work

------------------------------------------------------------------------
[2012-03-05 23:38:29] johannes@php.net

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

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.



------------------------------------------------------------------------
[2012-03-05 23:38:07] johannes@php.net

Automatic comment from SVN on behalf of johannes
Revision: http://svn.php.net/viewvc/?view=revision&revision=323928
Log: Fix Bug #61207 PDO::nextRowset() after a multi-statement query doesn't always work

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


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=61207


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


Thread (7 messages)

« previous php.bugs (#185839) next »