Skip to content

Commit 5278641

Browse files
authored
Merge pull request #3245 from waltheed/dev
Excluded sp_PressureDetector from the "...has WITH RECOMPILE in the stored procedure code..."check. (Issue 3244)
2 parents 31c6ede + 3f07bd2 commit 5278641

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sp_Blitz.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6870,7 +6870,7 @@ IF @ProductVersionMajor >= 10
68706870
Details = '[' + DBName + '].[' + SPSchema + '].[' + ProcName + '] has WITH RECOMPILE in the stored procedure code, which may cause increased CPU usage due to constant recompiles of the code.',
68716871
CheckID = '78'
68726872
FROM #Recompile AS TR
6873-
WHERE ProcName NOT LIKE 'sp_AllNightLog%' AND ProcName NOT LIKE 'sp_AskBrent%' AND ProcName NOT LIKE 'sp_Blitz%'
6873+
WHERE ProcName NOT LIKE 'sp_AllNightLog%' AND ProcName NOT LIKE 'sp_AskBrent%' AND ProcName NOT LIKE 'sp_Blitz%' AND ProcName NOT LIKE 'sp_PressureDetector'
68746874
AND DBName NOT IN ('master', 'model', 'msdb', 'tempdb');
68756875
DROP TABLE #Recompile;
68766876
END;

0 commit comments

Comments
 (0)