bug 931034 big number data entry

This commit is contained in:
Marc Delisle 2004-04-07 14:21:29 +00:00
parent c350428b49
commit 6f53483773
2 changed files with 8 additions and 1 deletions

View File

@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-04-07 Marc Delisle <lem9@users.sourceforge.net>
* tbl_change.php, bug 931034, big number data entry,
thanks to Dmitry (yrtimd)
2004-04-06 Marc Delisle <lem9@users.sourceforge.net>
* main.php, complete the fix for bug 922054

View File

@ -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";
?>