]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
tweak for mysql
authorBrion Vibber <brion@pobox.com>
Tue, 12 Oct 2010 02:14:33 +0000 (19:14 -0700)
committerBrion Vibber <brion@pobox.com>
Tue, 12 Oct 2010 02:14:33 +0000 (19:14 -0700)
lib/mysqlschema.php

index a2ca835d93e5e9f311fba772839da16d4acd0cea..688bea3e2b2d39e1f01a5e173b2d74fab7b1f562 100644 (file)
@@ -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);