cvs: pear /DB/DB oci8.php
| From: | Tomas V.V.Cox | Date: | Tue, 07 Oct 2003 13:57:37 +0000 |
| Subject: | cvs: pear /DB/DB oci8.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-13461@lists.php.net to get a copy of this message | ||
cox Tue Oct 7 09:57:37 2003 EDT
Modified files:
/pear/DB/DB oci8.php
Log:
Fix [PEAR-BUG] #72 [NEW]: OCI8 Execute always requires placeholders
Index: pear/DB/DB/oci8.php
diff -u pear/DB/DB/oci8.php:1.14 pear/DB/DB/oci8.php:1.15
--- pear/DB/DB/oci8.php:1.14 Tue Oct 7 08:13:44 2003
+++ pear/DB/DB/oci8.php Tue Oct 7 09:57:37 2003
@@ -16,7 +16,7 @@
// | Author: James L. Pine <jlp@valinux.com> |
// +----------------------------------------------------------------------+
//
-// $Id: oci8.php,v 1.14 2003/10/07 12:13:44 cox Exp $
+// $Id: oci8.php,v 1.15 2003/10/07 13:57:37 cox Exp $
//
// Database independent query interface definition for PHP's Oracle 8
// call-interface extension.
@@ -370,7 +370,7 @@
* SELECT queries, DB_OK for other successful queries. A DB error
* code is returned on failure.
*/
- function &execute($stmt, $data = false)
+ function &execute($stmt, $data = array())
{
$types=&$this->prepare_types[$stmt];
if (($size = sizeof($types)) != sizeof($data)) {