cvs: pear /MDB2/MDB2/Driver/Datatype ibase.php oci8.php pgsql.php
| From: | Lukas Smith | Date: | Thu, 09 Jun 2005 14:41:07 +0000 |
| Subject: | cvs: pear /MDB2/MDB2/Driver/Datatype ibase.php oci8.php pgsql.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-32446@lists.php.net to get a copy of this message | ||
lsmith Thu Jun 9 10:41:07 2005 EDT
Modified files:
/pear/MDB2/MDB2/Driver/Datatype pgsql.php oci8.php ibase.php
Log:
- fixed typo in _getTextDeclaration()
http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/Datatype/pgsql.php?r1=1.27&r2=1.28&ty=u
Index: pear/MDB2/MDB2/Driver/Datatype/pgsql.php
diff -u pear/MDB2/MDB2/Driver/Datatype/pgsql.php:1.27 pear/MDB2/MDB2/Driver/Datatype/pgsql.php:1.28
--- pear/MDB2/MDB2/Driver/Datatype/pgsql.php:1.27 Sat May 21 19:00:36 2005
+++ pear/MDB2/MDB2/Driver/Datatype/pgsql.php Thu Jun 9 10:41:06 2005
@@ -42,7 +42,7 @@
// | Author: Paul Cooper <pgc@ucecom.com> |
// +----------------------------------------------------------------------+
//
-// $Id: pgsql.php,v 1.27 2005/05/21 23:00:36 lsmith Exp $
+// $Id: pgsql.php,v 1.28 2005/06/09 14:41:06 lsmith Exp $
require_once 'MDB2/Driver/Datatype/Common.php';
@@ -118,7 +118,7 @@
{
$db =& $GLOBALS['_MDB2_databases'][$this->db_index];
$type = isset($field['length']) ? 'VARCHAR
('.$field['length'].')' : 'TEXT';
- $default = isset($field['default']) ? ' DEFAULT'.
+ $default = isset($field['default']) ? ' DEFAULT '.
$this->quote($field['default'], 'text') : '';
$notnull = (isset($field['notnull']) && $field['notnull']) ?
' NOT NULL' : '';
return $name.' '.$type.$default.$notnull;
http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/Datatype/oci8.php?r1=1.24&r2=1.25&ty=u
Index: pear/MDB2/MDB2/Driver/Datatype/oci8.php
diff -u pear/MDB2/MDB2/Driver/Datatype/oci8.php:1.24 pear/MDB2/MDB2/Driver/Datatype/oci8.php:1.25
--- pear/MDB2/MDB2/Driver/Datatype/oci8.php:1.24 Fri Jun 3 06:16:10 2005
+++ pear/MDB2/MDB2/Driver/Datatype/oci8.php Thu Jun 9 10:41:06 2005
@@ -42,7 +42,7 @@
// | Author: Lukas Smith <smith@backendmedia.com> |
// +----------------------------------------------------------------------+
-// $Id: oci8.php,v 1.24 2005/06/03 10:16:10 lsmith Exp $
+// $Id: oci8.php,v 1.25 2005/06/09 14:41:06 lsmith Exp $
require_once 'MDB2/Driver/Datatype/Common.php';
@@ -203,7 +203,7 @@
{
$db =& $GLOBALS['_MDB2_databases'][$this->db_index];
$type = $this->_getTypeDeclaration($field);
- $default = isset($field['default']) ? ' DEFAULT'.
+ $default = isset($field['default']) ? ' DEFAULT '.
$this->quote($field['default'], 'text') : '';
$notnull = (isset($field['notnull']) && $field['notnull']) ?
' NOT NULL' : '';
return $name.' '.$type.$default.$notnull;
http://cvs.php.net/diff.php/pear/MDB2/MDB2/Driver/Datatype/ibase.php?r1=1.34&r2=1.35&ty=u
Index: pear/MDB2/MDB2/Driver/Datatype/ibase.php
diff -u pear/MDB2/MDB2/Driver/Datatype/ibase.php:1.34 pear/MDB2/MDB2/Driver/Datatype/ibase.php:1.35
--- pear/MDB2/MDB2/Driver/Datatype/ibase.php:1.34 Wed Jun 8 13:40:18 2005
+++ pear/MDB2/MDB2/Driver/Datatype/ibase.php Thu Jun 9 10:41:06 2005
@@ -44,7 +44,7 @@
// | Lorenzo Alberton <l.alberton@quipo.it> |
// +----------------------------------------------------------------------+
//
-// $Id: ibase.php,v 1.34 2005/06/08 17:40:18 quipo Exp $
+// $Id: ibase.php,v 1.35 2005/06/09 14:41:06 lsmith Exp $
require_once 'MDB2/Driver/Datatype/Common.php';
@@ -169,7 +169,7 @@
function _getTextDeclaration($name, $field)
{
$type = $this->_getTypeDeclaration($field);
- $default = isset($field['default']) ? ' DEFAULT'.
+ $default = isset($field['default']) ? ' DEFAULT '.
$this->quote($field['default'], 'text') : '';
$notnull = (isset($field['notnull']) && $field['notnull']) ?
' NOT NULL' : '';
return $name.' '.$type.$default.$notnull;