diff --git a/ChangeLog b/ChangeLog index 484c91d7c..803074ca1 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,8 @@ $Source$ 2001-07-11 Steve Alberty * tbl_properties.php3: fix division by zero error + * tbl_change.php3: enlarge binary protection to (var)char binary + types 2001-07-09 Loïc Chapeaux * header.inc.php3: cosmetic changes. diff --git a/tbl_change.php3 b/tbl_change.php3 index 916015195..a8bb99019 100755 --- a/tbl_change.php3 +++ b/tbl_change.php3 @@ -74,7 +74,7 @@ for($i=0;$i // We don't want binary data to be destroyed - if(strstr($row_table_def["Type"], "blob")) + if(strstr($row_table_def["Type"], "blob") || strstr($row_table_def["Type"], "binary") ) { echo "$strBinary"; } @@ -186,7 +186,7 @@ for($i=0;$i // We don't want binary data destroyed - elseif(strstr($row_table_def["Type"], "blob")) + elseif(strstr($row_table_def["Type"], "blob") || strstr($row_table_def["Type"], "binary")) { echo "" . $strBinaryDoNotEdit . ""; }