cvs: pear /MDB2/MDB2/Driver/Datatype ibase.php
| From: | Lorenzo Alberton | Date: | Sun, 16 Oct 2005 13:24:27 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Driver/Datatype ibase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35593@lists.php.net to get a copy of this message | ||
quipo Sun Oct 16 09:24:27 2005 EDT
Modified files:
/pear/MDB2/MDB2/Driver/Datatype ibase.php
Log:
pass the correct connection resource to ibase_blob_import()
http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/Datatype/ibase.php?r1=1.47&r2=1.48&ty=u
Index: pear/MDB2/MDB2/Driver/Datatype/ibase.php
diff -u pear/MDB2/MDB2/Driver/Datatype/ibase.php:1.47 pear/MDB2/MDB2/Driver/Datatype/ibase.php:1.48
--- pear/MDB2/MDB2/Driver/Datatype/ibase.php:1.47 Sat Oct 15 04:39:30 2005
+++ pear/MDB2/MDB2/Driver/Datatype/ibase.php Sun Oct 16 09:24:26 2005
@@ -44,7 +44,7 @@
// | Lorenzo Alberton <l.alberton@quipo.it> |
// +----------------------------------------------------------------------+
//
-// $Id: ibase.php,v 1.47 2005/10/15 08:39:30 lsmith Exp $
+// $Id: ibase.php,v 1.48 2005/10/16 13:24:26 quipo Exp $
require_once 'MDB2/Driver/Datatype/Common.php';
@@ -234,7 +234,8 @@
@rewind($fp);
$value = $fp;
}
- $blob_id = @ibase_blob_import($db->transaction_id, $value);
+ $blob_id = @ibase_blob_import($connection, $value);
+
if ($close) {
@fclose($value);
}