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 git-svn-id: svn://10.0.0.236/trunk@195749 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d9a309e122
commit
31e1f273a0
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user