From: Brion Vibber Date: Tue, 12 Oct 2010 02:14:33 +0000 (-0700) Subject: tweak for mysql X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7723d15cd0a8dd0526c1ddf4b8b34a0891f04ff1;p=quix0rs-gnu-social.git tweak for mysql --- 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);