Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit 7ddf1d7

Browse files
committed
Facepalm. Last minute changes before release missed the WHERE clause on the host_summary_by_stages views
1 parent e5d6f55 commit 7ddf1d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

views/p_s/host_summary_by_stages.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ SELECT IF(host IS NULL, 'background', host) AS host,
6161
sys.format_time(sum_timer_wait) AS total_latency,
6262
sys.format_time(avg_timer_wait) AS avg_latency
6363
FROM performance_schema.events_stages_summary_by_host_by_event_name
64-
AND sum_timer_wait != 0
64+
WHERE sum_timer_wait != 0
6565
ORDER BY IF(host IS NULL, 'background', host), sum_timer_wait DESC;
6666

6767
/*
@@ -111,5 +111,5 @@ SELECT IF(host IS NULL, 'background', host) AS host,
111111
sum_timer_wait AS total_latency,
112112
avg_timer_wait AS avg_latency
113113
FROM performance_schema.events_stages_summary_by_host_by_event_name
114-
AND sum_timer_wait != 0
114+
WHERE sum_timer_wait != 0
115115
ORDER BY IF(host IS NULL, 'background', host), sum_timer_wait DESC;

0 commit comments

Comments
 (0)