diff --git a/lib/xmldb/classes/generators/mysql/mysql.class.php b/lib/xmldb/classes/generators/mysql/mysql.class.php index a22df85e628..30967ab5469 100644 --- a/lib/xmldb/classes/generators/mysql/mysql.class.php +++ b/lib/xmldb/classes/generators/mysql/mysql.class.php @@ -238,7 +238,7 @@ class XMLDBmysql extends XMLDBGenerator { if ($xmldb_table->getComment()) { $comment .= 'ALTER TABLE ' . $this->getTableName($xmldb_table); - $comment .= " COMMENT='" . substr($xmldb_table->getComment(), 0, 250) . "'"; + $comment .= " COMMENT='" . substr($xmldb_table->getComment(), 0, 60) . "'"; } return array($comment); }