pdo_firebird: "RETURNING" patch (Bug #43246)

From: Date: Mon, 12 Nov 2007 16:19:25 +0000
Subject: pdo_firebird: "RETURNING" patch (Bug #43246)
Groups: php.db 
Request: Send a blank email to php-db+get-44335@lists.php.net to get a copy of this message
Hi! I have bug #43246 open and just posted a "patch comment" there. As I don't know how to (or cannot) upload patches in the bug system. The problem is: Queries ending in "RETURNING ..." get qualified as stored procedure calls. Contrary to the docs, the PDOStatement->execute call is returning the stored procedure's return value... Just eliminating this undocumented behaviour clears the problem! As I don't assume authority in php internals, the attached patch (against CVS PHP_5_3) only "out-ifdefs" the "corrupt" parts. Greets HPO

« previous php.db (#44335) next »