#37399 [NEW]: Stored Procedure with more than one Resultset
From: aranna at free dot fr
Operating system: REH3
PHP version: 5.1.4
PHP Bug Type: Sybase-ct (ctlib) related
Bug description: Stored Procedure with more than one Resultset
Description:
------------
PHP is compiled with Sybase ct support (even if using freetds 0.64 or
Sybase open client). When i excute a stored procedure with more than one
result, it's impossible to retrieve them (only the firt).
Reproduce code:
---------------
Proc example :
create proc more_resultset as
//My first select
SELECT * FROM table 1
//My second
SELECT * FROM table 2
Expected result:
----------------
There is no way with sybase support to exploit more than one result set
(like mssql_next_result or mysqli_next_result).
I have got the right result when using "isql" client or "tsql" client of
Sybase or FreeTds on command line.
Actual result:
--------------
Having only the first select return
--
Edit bug report at http://bugs.php.net/?id=37399&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37399&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37399&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37399&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37399&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37399&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37399&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37399&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37399&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37399&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37399&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37399&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37399&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37399&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37399&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37399&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37399&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37399&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37399&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37399&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37399&r=mysqlcfg
Thread (9 messages)
- aranna at free dot fr