#38057 [Opn->Fbk]: closeCursor method not function with CALL statement

From: Date: Mon, 10 Jul 2006 12:26:26 +0000
Subject: #38057 [Opn->Fbk]: closeCursor method not function with CALL statement
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-99297@lists.php.net to get a copy of this message
ID: 38057 Updated by: tony2001@php.net Reported By: draeli at draeli dot com -Status: Open +Status: Feedback Bug Type: PDO related Operating System: Windows PHP Version: 5.1.4 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2006-07-10 12:24:11] draeli at draeli dot com Description: ------------ I have this in my construct class : $result=$this->connexion_bd->query("CALL ListeGroupeGet($IDGroupe,'$type_sens')"); Result is correctly put with fetch method but after if I try to close cursor with cluseCursor method nothing is do ... To confirm this behavior, I have put an other query statement after closeCursor method : $test=$this->connexion_bd->query("SELECT '1'"); and do var_dump on result : bool(false) result of that as if cursor isn"t close. Expected result: ---------------- Fatal error: Call to a member function fetch() on a non-object ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38057&edit=1

« previous php.bugs (#99297) next »