Skip to content

Commit 7aca53b

Browse files
committed
Fix dm_exec_query_profiles arithmetic overflow error in check 45
1 parent 1734f64 commit 7aca53b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sp_BlitzFirst.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2163,7 +2163,7 @@ If one of them is a lead blocker, consider killing that query.'' AS HowToStopit,
21632163
FROM (
21642164
SELECT deqp.session_id,
21652165
deqp.request_id,
2166-
CASE WHEN deqp.row_count > ( deqp.estimate_row_count * 10000 )
2166+
CASE WHEN (deqp.row_count/10000) > deqp.estimate_row_count
21672167
THEN 1
21682168
ELSE 0
21692169
END AS estimate_inaccuracy

0 commit comments

Comments
 (0)