cvs: pear /MDB2/MDB2/Driver/Manager ibase.php
| From: | Lukas Smith | Date: | Sat, 15 Oct 2005 12:03:16 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Driver/Manager ibase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35572@lists.php.net to get a copy of this message | ||
lsmith Sat Oct 15 08:03:16 2005 EDT
Modified files:
/pear/MDB2/MDB2/Driver/Manager ibase.php
Log:
- fixed type changing
http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/Manager/ibase.php?r1=1.52&r2=1.53&ty=u
Index: pear/MDB2/MDB2/Driver/Manager/ibase.php
diff -u pear/MDB2/MDB2/Driver/Manager/ibase.php:1.52 pear/MDB2/MDB2/Driver/Manager/ibase.php:1.53
--- pear/MDB2/MDB2/Driver/Manager/ibase.php:1.52 Fri Oct 14 18:33:04 2005
+++ pear/MDB2/MDB2/Driver/Manager/ibase.php Sat Oct 15 08:03:14 2005
@@ -42,7 +42,7 @@
// | Author: Lorenzo Alberton <l.alberton@quipo.it> |
// +----------------------------------------------------------------------+
//
-// $Id: ibase.php,v 1.52 2005/10/14 22:33:04 lsmith Exp $
+// $Id: ibase.php,v 1.53 2005/10/15 12:03:14 lsmith Exp $
require_once 'MDB2/Driver/Manager/Common.php';
@@ -440,7 +440,7 @@
}
$db->loadModule('Datatype');
$field_name = $db->quoteIdentifier($field_name);
- $query.= 'ALTER ' . $field_name.' TYPE ' .
$db->datatype->getTypeDeclaration($field);
+ $query.= 'ALTER ' . $field_name.' TYPE ' .
$db->datatype->getTypeDeclaration($field['definition']);
}
}