#42548 [Opn->Fbk]: PROCEDURE xxx can't return a result set in the given context

From: Date: Tue, 04 Sep 2007 22:34:09 +0000
Subject: #42548 [Opn->Fbk]: PROCEDURE xxx can't return a result set in the given context
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-117137@lists.php.net to get a copy of this message
 ID:               42548
 Updated by:       jani@php.net
 Reported By:      garethjo at usc dot edu
-Status:           Open
+Status:           Feedback
 Bug Type:         MySQLi related
 Operating System: Windows XP, Windows 2003
 PHP Version:      5.2.4
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.




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

[2007-09-04 19:24:08] garethjo at usc dot edu

Description:
------------
All stored procedure call which would return a result set (and did in
the past) produces the error 

"PROCEDURE procedure.Name can't return a result set in the given
context"

However the expected results are returned via command line and other
mysql clients.

Reproduce code:
---------------
test code can be found at:

http://128.125.64.37/bug.zip

Expected result:
----------------
resultset returned

Actual result:
--------------
PROCEDURE procedure.Name can't return a result set in the given context


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


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


Thread (19 messages)

« previous php.bugs (#117137) next »