Commit f610c82d authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 373492: Data in data/mining/* is corrupted - Patch by Fré©ric Buclin…

Bug 373492: Data in data/mining/* is corrupted - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=mkanat r=gerv a=mkanat
parent e15776a6
......@@ -264,8 +264,11 @@ sub get_old_data {
$recreate = 1;
my @new_cols = ($columns[0], @statuses, @resolutions);
if (scalar(@columns) == scalar(@new_cols)) {
my ($removed, $added) = diff_arrays(\@columns, \@new_cols);
last if (!scalar(@$removed) && !scalar(@$added));
my $identical = 1;
for (0 .. $#columns) {
$identical = 0 if ($columns[$_] ne $new_cols[$_]);
}
last if $identical;
}
}
next unless $recreate;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment