#39682 [NEW]: mssql_next_result stopped work past upgrade to 5.2

Posted: 11-29-2006, 12:34 PM
From: hink at rac dot cz
Operating system: Windows XP SP2
PHP version: 5.2.0
PHP Bug Type: *General Issues
Bug description: mssql_next_result stopped work past upgrade to 5.2

Description:
------------
When first result set has not been read to end, then calling
mssql_next_result($res) has no effect. It worked fine with version 5.0.3.
Temporary workaround:

insert a cycle to have read the rest of first result set:

while(mssql_fetch_next($res)) ;




--
Edit bug report at http://bugs.php.net/?id=39682&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39682&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39682&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39682&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39682&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39682&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39682&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39682&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39682&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39682&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39682&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39682&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39682&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39682&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39682&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39682&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39682&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39682&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39682&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39682&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39682&r=mysqlcfg
Reply With Quote

Responses to "#39682 [NEW]: mssql_next_result stopped work past upgrade to 5.2"

tony2001@php.net
Guest
Posts: n/a
 
#39682 [Opn->Fbk]: mssql_next_result stopped work past upgrade to 5.2
Posted: 11-29-2006, 12:39 PM
ID: 39682
Updated by: tony2001@php.net
Reported By: hink at rac dot cz
-Status: Open
+Status: Feedback
-Bug Type: *General Issues
+Bug Type: MSSQL related
Operating System: Windows XP SP2
PHP Version: 5.2.0
New Comment:

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.





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

[2006-11-29 13:34:38] hink at rac dot cz

Description:
------------
When first result set has not been read to end, then calling
mssql_next_result($res) has no effect. It worked fine with version
5.0.3. Temporary workaround:

insert a cycle to have read the rest of first result set:

while(mssql_fetch_next($res)) ;





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


--
Edit this bug report at http://bugs.php.net/?id=39682&edit=1
Reply With Quote
 
Thread Tools Search this Thread Display Modes
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
#38924 [NEW]: mssql_next_result returns FALSE on multiple Resultsets info at benjamin-wilger dot de PHP Bugs 1 09-22-2006 05:08 PM
FMS2 Doesn't work - Not a seamless upgrade newfymonty Macromedia Flash Flashcom 12 02-14-2006 09:44 AM
#25070 [Opn->Fbk]: Windows is stopped on intesive session work sniper@php.net PHP Development 1 08-26-2003 03:02 AM
#25070 [NEW]: Windows is stopped on intesive session work akss at plesk dot ru PHP Development 0 08-13-2003 09:16 AM
7.0 upgrade work for 4.0? John A. Doe Adobe Photoshop 7, CS, CS2 & CS3 2 07-19-2003 01:21 PM