cvs: pear /MDB2/MDB2/Driver/Datatype ibase.php
| From: | Lorenzo Alberton | Date: | Tue, 18 Oct 2005 18:58:01 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Driver/Datatype ibase.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-35677@lists.php.net to get a copy of this message | ||
quipo Tue Oct 18 14:58:01 2005 EDT
Modified files:
/pear/MDB2/MDB2/Driver/Datatype ibase.php
Log:
fix integer declaration for PK
http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/Datatype/ibase.php?r1=1.48&r2=1.49&ty=u
Index: pear/MDB2/MDB2/Driver/Datatype/ibase.php
diff -u pear/MDB2/MDB2/Driver/Datatype/ibase.php:1.48 pear/MDB2/MDB2/Driver/Datatype/ibase.php:1.49
--- pear/MDB2/MDB2/Driver/Datatype/ibase.php:1.48 Sun Oct 16 09:24:26 2005
+++ pear/MDB2/MDB2/Driver/Datatype/ibase.php Tue Oct 18 14:57:56 2005
@@ -44,7 +44,7 @@
// | Lorenzo Alberton <l.alberton@quipo.it> |
// +----------------------------------------------------------------------+
//
-// $Id: ibase.php,v 1.48 2005/10/16 13:24:26 quipo Exp $
+// $Id: ibase.php,v 1.49 2005/10/18 18:57:56 quipo Exp $
require_once 'MDB2/Driver/Datatype/Common.php';
@@ -186,7 +186,7 @@
if (array_key_exists('autoincrement', $field) &&
$field['autoincrement']) {
$name = $db->quoteIdentifier($name);
- return $name.' PRIMARY KEY';
+ return $name.' INTEGER NOT NULL PRIMARY KEY';
}
$default = array_key_exists('default', $field) ? ' DEFAULT '.