Fix table names in ResultsDataWriteGroups query to be compatible with Filters.pm
This commit is contained in:
@@ -25,12 +25,12 @@ sub query {
|
||||
# only the first row lands in the table.
|
||||
# This query fixes that.
|
||||
my $querystring = "SELECT
|
||||
benchmark, resulttype, SUM(t.time2 - t.time1 + 1) AS faults
|
||||
benchmark, resulttype, SUM(g.time2 - g.time1 + 1) AS faults
|
||||
FROM variant v
|
||||
JOIN trace t ON v.id = t.variant_id
|
||||
JOIN fsppilot p ON p.variant_id = t.variant_id
|
||||
AND ( (p.known_outcome = 1 AND t.accesstype = 'W')
|
||||
OR (p.known_outcome = 0 AND p.instr2 = t.instr2 AND p.data_physical_address = t.data_physical_address) )
|
||||
JOIN trace g ON v.id = g.variant_id
|
||||
JOIN fsppilot p ON p.variant_id = g.variant_id
|
||||
AND ( (p.known_outcome = 1 AND g.accesstype = 'W')
|
||||
OR (p.known_outcome = 0 AND p.instr2 = g.instr2 AND p.data_physical_address = g.data_physical_address) )
|
||||
JOIN result_GenericExperimentMessage r ON r.pilot_id = p.id
|
||||
WHERE v.variant = '$experiment'$extra
|
||||
GROUP BY v.id, resulttype
|
||||
|
||||
Reference in New Issue
Block a user