Changeset 2151

Show
Ignore:
Timestamp:
04/29/08 22:35:48 (7 months ago)
Author:
bchoate
Message:

Issue varchar alter even if existing column is larger than the currently defined column. BugId:79551

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-36/lib/MT/Upgrade.pm

    r2092 r2151  
    16591659                if (($col_def->{type} eq 'string') 
    16601660                 && ($db_def->{type} eq 'string') 
    1661                  && ($col_def->{size} <= $db_def->{size})) { 
     1661                 && ($col_def->{size} != $db_def->{size})) { 
    16621662                    if (($col_def->{not_null} || 0) != ($db_def->{not_null} || 0)) { 
    16631663                        push @cols_to_alter, $col;