rfe #2956556 [interface] Allow to wrap enum values.

This commit is contained in:
Michal Čihař
2010-09-16 16:02:49 +02:00
parent 156c6d31e8
commit 8417db5866
2 changed files with 3 additions and 1 deletions

View File

@@ -115,6 +115,7 @@
- [core] Force generating of new session on login
- rfe #1105678 [interface] Drop page-break-before as it is useless for smaller
tables.
- rfe #2956556 [interface] Allow to wrap enum values.
3.3.8.0 (not yet released)
- bug #3059311 [import] BIGINT field type added to table analysis

View File

@@ -245,7 +245,8 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) {
$extracted_fieldspec = PMA_extractFieldSpec($row['Type']);
if ('set' == $extracted_fieldspec['type'] || 'enum' == $extracted_fieldspec['type']) {
$type = $extracted_fieldspec['type'] . '(' . $extracted_fieldspec['spec_in_brackets'] . ')';
$type = $extracted_fieldspec['type'] . '(' .
str_replace("','", "', '", $extracted_fieldspec['spec_in_brackets']) . ')';
// for the case ENUM('–','“')
$type = htmlspecialchars($type);