summaryrefslogtreecommitdiff
path: root/t/mysql.t
diff options
context:
space:
mode:
Diffstat (limited to 't/mysql.t')
-rw-r--r--t/mysql.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/mysql.t b/t/mysql.t
index 33ce8aed..51354240 100644
--- a/t/mysql.t
+++ b/t/mysql.t
@@ -75,7 +75,7 @@ my @std_opts = (
);
my $vinfo = try { $sqitch->probe($mysql->client, '--version') } || '';
if ($vinfo =~ /mariadb/i) {
- my ($version) = $vinfo =~ /Ver\s(\S+)/;
+ my ($version) = $vinfo =~ /(?:Ver|client)\s+(\S+)/;
my ($maj, undef, $pat) = split /[.]/ => $version;
push @std_opts => '--abort-source-on-error'
if $maj > 5 || ($maj == 5 && $pat >= 66);