PT-1554 4th attempt to fix ExplainAnalyzer.t

This commit is contained in:
Carlos Salguero
2018-05-22 15:26:56 -03:00
parent b547b7c21c
commit 6679596b3b

View File

@@ -86,11 +86,14 @@ is_deeply(
'Got a simple EXPLAIN result',
);
is_deeply(
$exa->explain_query(
$got = $exa->explain_query(
dbh => $dbh,
query => 'delete from actor where actor_id = 5',
),
);
$got->[0]->{filtered} = int($got->[0]->{filtered}) if (defined($got->[0]->{filtered}));
is_deeply(
$got,
$want,
'Got EXPLAIN result for a DELETE',
);