Limit table comments to 60cc for MySQL. MDL-7765

This commit is contained in:
stronk7
2007-02-09 00:32:32 +00:00
parent bdc1bb3358
commit 04f64ffbe0
@@ -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);
}