diff options
author | bbaetz%acm.org <> | 2003-04-27 16:19:28 +0200 |
---|---|---|
committer | bbaetz%acm.org <> | 2003-04-27 16:19:28 +0200 |
commit | f016a7980404372d9855215a5107968beb3c82f4 (patch) | |
tree | 7e23103bf2bb1d4b390f618534d43b176a58033b | |
parent | d56611c283d252af894d27986496b1d36170c2da (diff) | |
download | bugzilla-f016a7980404372d9855215a5107968beb3c82f4.tar.gz bugzilla-f016a7980404372d9855215a5107968beb3c82f4.tar.xz |
Bug 203540 - RenameField doesn't get NULL/NOT NULL correct
r,a=justdave
-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"); |