diff options
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checksetup.pl b/checksetup.pl index 7c44eaa68..f3228e804 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -2120,7 +2120,7 @@ sub RenameField ($$$) if ($$ref[1] ne $newname) { print "Updating field $field in table $table ...\n"; my $type = $$ref[1]; - $type .= " NOT NULL" if $$ref[3]; + $type .= " NOT NULL" if !$$ref[2]; $dbh->do("ALTER TABLE $table CHANGE $field $newname $type"); |