Fix not displaying content of TEXT fields (was treated like BLOB).

This commit is contained in:
Michal Čihař
2003-05-10 16:13:17 +00:00
parent 7260ba8c6c
commit 4d1f628a8b

View File

@@ -1193,7 +1193,7 @@ if (!defined('PMA_DISPLAY_TBL_LIB_INCLUDED')) {
// TEXT fields type, however TEXT fields must be displayed // TEXT fields type, however TEXT fields must be displayed
// even if $cfg['ShowBlob'] is false -> get the true type // even if $cfg['ShowBlob'] is false -> get the true type
// of the fields. // of the fields.
$field_flags = PMA_mysql_field_flags($dt_result, $i);
if (eregi('BINARY', $field_flags)) { if (eregi('BINARY', $field_flags)) {
$blobtext = '[BLOB'; $blobtext = '[BLOB';
if (isset($row[$pointer])) { if (isset($row[$pointer])) {