Bug #11468: Cannot execute stored procedures
| From: | Vladimir dot Michl at seznam dot cz | Date: | Wed, 13 Jun 2001 16:25:03 +0000 |
| Subject: | Bug #11468: Cannot execute stored procedures | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-56939@lists.php.net to get a copy of this message | ||
From: Vladimir.Michl@seznam.cz
Operating system: Win32, Linux
PHP version: 4.0.5
PHP Bug Type: InterBase related
Bug description: Cannot execute stored procedures
Hello,
when I wrote some scripts that inserting some data to database, I must call stored procedures
for getting some data (typically id from generator). I want
execute stored procedures, that return next row id.
I add some code to interbase PHP module, that support execution of stored procedures.
With my patch, procedure is executed by
$res = ibase_query($db, "execute procedure procedure_name");
$row = ibase_fetch_row($res);
In $row is row returned by procedure.
Patch may be found on http://www.penguin.cz/~michlv/software/phpibase/
If any question write me.
Vladimir Michl <Vladimir.Michl@seznam.cz>
PS: Patch is ported from 4.0.3pl1 where is functional.
--
Edit Bug report at: http://bugs.php.net/?id=11468&edit=1