diff --git a/ChangeLog b/ChangeLog index ed3d4e932f..3dd57c3735 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - Changelog $Id$ $Source$ +2004-04-07 Marc Delisle + * tbl_change.php, bug 931034, big number data entry, + thanks to Dmitry (yrtimd) + 2004-04-06 Marc Delisle * main.php, complete the fix for bug 922054 diff --git a/tbl_change.php b/tbl_change.php index f0b32f5d97..815d1e0f1f 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -744,12 +744,15 @@ foreach($loop_array AS $vrowcount => $vrow) { // types (int or float), the length is not a limit on the values that // can be entered, so let's be generous (20) (we could also use the // real limits for each numeric type) + // 2004-04-07, it turned out that 20 was not generous enough + // for the maxlength if ($is_char) { $fieldsize = (($len > 40) ? 40 : $len); $maxlength = $len; } else { - $fieldsize = $maxlength = 20; + $fieldsize = 20; + $maxlength = 99; } // end if... else... echo "\n"; ?>