mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Limit table comments to 60cc for MySQL. MDL-7765
Merged from MOODLE_17_STABLE
This commit is contained in:
parent
d148c0ed5c
commit
bb33fb6dd7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue