diff options
author | 2006-05-01 06:53:28 +0000 | |
---|---|---|
committer | 2006-05-01 06:53:28 +0000 | |
commit | b778d54f31e2b9d2cfee20c5b7b3331f36cb6835 (patch) | |
tree | 6584788a7dc254b27feddf846ba8852c2510b02e /contrib/bzdbcopy.pl | |
parent | Bug 331008: Consistently name errors either prod_ or product_ - Patch by time... (diff) | |
download | bugzilla-b778d54f31e2b9d2cfee20c5b7b3331f36cb6835.tar.gz bugzilla-b778d54f31e2b9d2cfee20c5b7b3331f36cb6835.tar.bz2 bugzilla-b778d54f31e2b9d2cfee20c5b7b3331f36cb6835.zip |
Bug 335572: contrib/bzdbcopy.pl fails because it tries to insert too long a name into fielddefs
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'contrib/bzdbcopy.pl')
-rwxr-xr-x | contrib/bzdbcopy.pl | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/contrib/bzdbcopy.pl b/contrib/bzdbcopy.pl index 20fca2cfa..ac3ba8248 100755 --- a/contrib/bzdbcopy.pl +++ b/contrib/bzdbcopy.pl @@ -172,13 +172,6 @@ foreach my $table (@table_list) { print "\n\n"; } -# And there's one entry in the fielddefs table that needs -# to be manually fixed. This is a huge hack. -my $delta_fdef = "(" . $target_db->sql_to_days('NOW()') . " - " . - $target_db->sql_to_days('bugs.delta_ts') . ")"; -$target_db->do(q{UPDATE fielddefs SET name = ? - WHERE name LIKE '%bugs.delta_ts%'}, undef, $delta_fdef); - print "Committing changes to the target database...\n"; $target_db->commit; |