From 7723d15cd0a8dd0526c1ddf4b8b34a0891f04ff1 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 11 Oct 2010 19:14:33 -0700 Subject: [PATCH] tweak for mysql --- lib/mysqlschema.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/mysqlschema.php b/lib/mysqlschema.php index a2ca835d93..688bea3e2b 100644 --- a/lib/mysqlschema.php +++ b/lib/mysqlschema.php @@ -444,19 +444,15 @@ class MysqlSchema extends Schema function columnSql(array $cd) { $line = array(); - $line[] = parent::_columnSql($cd); + $line[] = parent::columnSql($cd); if ($cd['type'] == 'serial') { $line[] = 'auto_increment'; } - if (!empty($cd['extra'])) { - $line[] = $cd['extra']; // hisss boooo - } - if (!empty($cd['description'])) { $line[] = 'comment'; - $line[] = $this->quote($cd['description']); + $line[] = $this->quoteValue($cd['description']); } return implode(' ', $line);