php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40246 nextRowset() doesn't work
Submitted: 2007-01-26 09:14 UTC Modified: 2007-02-03 01:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: bergheim at stud dot ntnu dot no Assigned:
Status: No Feedback Package: PDO related
PHP Version: 5.2.0 OS: Linux Debian
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bergheim at stud dot ntnu dot no
New email:
PHP Version: OS:

 

 [2007-01-26 09:14 UTC] bergheim at stud dot ntnu dot no
Description:
------------
Using:
* PHP 5.2.0-8
* PDO MySQL 5.0.32
* MySQL 5.0.32

Only one rowset show up using nextRowset() in PDO.

Reproduce code:
---------------
[SQL]
DELIMITER $$

DROP PROCEDURE IF EXISTS `multiple_rowsets` $$
CREATE PROCEDURE `testing` ()
BEGIN
  SELECT "apple" AS `fruit`;
  SELECT "banana" AS `fruit`;
END $$

DELIMITER ;
[/SQL]

[PHP]
Use code from http://www.php.net/manual/en/function.pdostatement-nextrowset.php 
[/PHP] 

Expected result:
----------------
The code show two generating tho resultsets at the page. See code in manual.

Actual result:
--------------
Only the first rowset show up.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-01-26 10:02 UTC] tony2001@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip


 [2007-02-03 01:00 UTC] 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".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 16:01:36 2025 UTC