]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 335572: contrib/bzdbcopy.pl fails because it tries to insert too long a name...
authormkanat%bugzilla.org <>
Mon, 1 May 2006 06:54:37 +0000 (06:54 +0000)
committermkanat%bugzilla.org <>
Mon, 1 May 2006 06:54:37 +0000 (06:54 +0000)
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave

contrib/bzdbcopy.pl

index 20fca2cfa051c8781080ca5fb604115fdab2232b..ac3ba8248a57ebb6e6cd080fec90b31263639383 100755 (executable)
@@ -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;