cvs: pear /MDB2/MDB2/Driver/Datatype ibase.php
| From: | Lorenzo Alberton | Date: | Fri, 14 Oct 2005 23:29:56 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Driver/Datatype ibase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35562@lists.php.net to get a copy of this message | ||
quipo Fri Oct 14 19:29:56 2005 EDT
Modified files:
/pear/MDB2/MDB2/Driver/Datatype ibase.php
Log:
support CLOBs
http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/Datatype/ibase.php?r1=1.45&r2=1.46&ty=u
Index: pear/MDB2/MDB2/Driver/Datatype/ibase.php
diff -u pear/MDB2/MDB2/Driver/Datatype/ibase.php:1.45 pear/MDB2/MDB2/Driver/Datatype/ibase.php:1.46
--- pear/MDB2/MDB2/Driver/Datatype/ibase.php:1.45 Fri Oct 14 18:39:52 2005
+++ pear/MDB2/MDB2/Driver/Datatype/ibase.php Fri Oct 14 19:29:55 2005
@@ -44,7 +44,7 @@
// | Lorenzo Alberton <l.alberton@quipo.it> |
// +----------------------------------------------------------------------+
//
-// $Id: ibase.php,v 1.45 2005/10/14 22:39:52 lsmith Exp $
+// $Id: ibase.php,v 1.46 2005/10/14 23:29:55 quipo Exp $
require_once 'MDB2/Driver/Datatype/Common.php';
@@ -405,7 +405,7 @@
$type[] = 'decimal';
break;
case 'blob':
- $type[] = 'blob';
+ $type[] = ($field['field_sub_type'] == 'text') ? 'clob' :
'blob';
$length = null;
break;
default: