From 2f91f66172cce179793f7082b50ab9d74b5dedf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Chapeaux?= Date: Sun, 19 Aug 2001 15:18:02 +0000 Subject: [PATCH] Do not display functions with enum or set fields types --- ChangeLog | 5 +++-- tbl_change.php3 | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index e93aaf851..f2015294d 100755 --- a/ChangeLog +++ b/ChangeLog @@ -14,8 +14,9 @@ $Source$ * lang/*: $strInstructions (used in db_readdump.php3). 2001-08-19 Loïc Chapeaux - * 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 diff --git a/tbl_change.php3 b/tbl_change.php3 index 8c5e4f004..55bba973a 100755 --- a/tbl_change.php3 +++ b/tbl_change.php3 @@ -133,6 +133,8 @@ for ($i = 0; $i < $fields_cnt; $i++) { && !empty($data) && $cfgProtectBlob == TRUE) { echo ' ' . $strBinary . '' . "\n"; + } else if (strstr($row_table_def['True_Type'], 'enum') || strstr($row_table_def['True_Type'], 'set')) { + echo ' --' . "\n"; } else { ?>