Do not display functions with enum or set fields types

This commit is contained in:
Loïc Chapeaux
2001-08-19 15:18:02 +00:00
parent 9f031ad790
commit 2f91f66172
2 changed files with 5 additions and 2 deletions

View File

@@ -14,8 +14,9 @@ $Source$
* lang/*: $strInstructions (used in db_readdump.php3).
2001-08-19 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* tbl_change.php3: do not modify blob/binaries if $cfgProtectBlob is true
and merged a little optimization (lines 69-71).
* tbl_change.php3: do not modify blob/binaries if $cfgProtectBlob is true,
merged a little optimization (lines 69-71) and do not display functions
with enum or set fields types.
* main.php3; db_details.php3; tbl_properties.php3; db_readdump.php3;
lib.inc.php3: once a query has been executed phpMyAdmin now moves back
to the calling script (rather than db_details.php3 everytime) as soon as

View File

@@ -133,6 +133,8 @@ for ($i = 0; $i < $fields_cnt; $i++) {
&& !empty($data)
&& $cfgProtectBlob == TRUE) {
echo ' <td align="center">' . $strBinary . '</td>' . "\n";
} else if (strstr($row_table_def['True_Type'], 'enum') || strstr($row_table_def['True_Type'], 'set')) {
echo ' <td align="center">--</td>' . "\n";
} else {
?>
<td>