Commit cad24ffa authored by Andy Yates's avatar Andy Yates
Browse files

[ENSCORESW-566]. Stop emitting collation and characters for test schemas.

Test schemas should not need this. It also gets in the way of SQL
diffs so just ignore it for the moment.
parent 705540d3
......@@ -14,9 +14,6 @@ use IO::Compress::Gzip qw/gzip $GzipError/;
use Pod::Usage;
use Sys::Hostname;
my $rcsid = '$Revision$';
our ($VERSION) = $rcsid =~ /(\d+\.\d+)/;
my $PIGZ_BINARY = 'pigz';
my $PIGZ_PROCESSORS = 2; #some machines only have 4 cores so do not go mad
my $MAX_FILE_SIZE = 1 * 1024 * 1024; #anything greater than 1MB farm out
......@@ -319,6 +316,8 @@ sub modify_sql {
$sql =~ s/DEFAULT\s+CHARSET=latin1//xms;
$sql =~ s/COLLATE=latin1_bin//xms;
$sql =~ s/AUTO_INCREMENT=\d+//xms;
$sql =~ s/CHARACTER SET latin1//g;
$sql =~ s/COLLATE latin1_bin//g;
}
return $sql;
}
......
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