From: Jason Etheridge Date: Thu, 16 Apr 2020 14:38:14 +0000 (-0400) Subject: don't index x_count if we see it X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=254b9c5ce4a17251dbd7b38dafe9e0a45040caa0 don't index x_count if we see it Signed-off-by: Jason Etheridge --- diff --git a/kmig.d/bin/csv2mysql b/kmig.d/bin/csv2mysql index 6359c8c..bb2bba1 100755 --- a/kmig.d/bin/csv2mysql +++ b/kmig.d/bin/csv2mysql @@ -105,7 +105,7 @@ sub write_sql_table { push @indices, 'x_migrate'; foreach my $column (@{ $info }) { my $cn = $column->{'header'}; - if ($cn =~ /^x_/) { + if ($cn =~ /^x_/ && $cn ne 'x_count') { push @indices, $cn; } my $col_info = Dumper($column);