|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-12-30 07:42 UTC] lunter at interia dot pl
[2008-07-03 08:04 UTC] uwendel at mysql dot com
[2008-07-22 10:42 UTC] uwendel at mysql dot com
[2012-03-15 02:55 UTC] kxscjjunzn at whedtt dot com
[2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 22:00:02 2025 UTC |
Description: ------------ PDOStatement->nextRowset() doesn't work Reproduce code: --------------- <? $h=new PDO('mysql:host=localhost;dbname=root','root','root'); // $q=$h->query('CALL some_proc()'); $q=$h->query('SELECT 1 AS col;SELECT 2 AS col;'); $r=$q->fetchAll(PDO::FETCH_ASSOC); print_r($r); $q->nextRowset(); $r=$q->fetchAll(PDO::FETCH_ASSOC); print_r($r); ?> Expected result: ---------------- Array ( [0] => Array ( [col] => 1 ) ) Array ( [0] => Array ( [col] => 2 ) ) Actual result: -------------- Array ( [0] => Array ( [col] => 1 ) ) Array ( )