Project

General

Profile

Feature #49060 » mysql_comments.patch

Nico de Haen, 2013-06-12 14:27

View differences:

typo3/sysext/core/Classes/Database/DatabaseConnection.php
$this->connectDB();
}
$output = array();
$columns_res = $this->link->query('SHOW COLUMNS FROM `' . $tableName . '`');
$columns_res = $this->link->query('SHOW FULL COLUMNS FROM `' . $tableName . '`');
while ($fieldRow = $columns_res->fetch_assoc()) {
$output[$fieldRow['Field']] = $fieldRow;
}
typo3/sysext/install/Classes/Sql/SchemaMigrator.php
if ($row['Extra']) {
$field[] = $row['Extra'];
}
if ($row['Comment']) {
$field[] = "COMMENT '" . $row['Comment'] . "'";
}
return implode(' ', $field);
}
(1-1/4)