Skip to content

Commit 25d4fa8

Browse files
committed
Closes #1093
Adds begin/end block to check proc cache.
1 parent 066f58c commit 25d4fa8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sp_Blitz.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5669,6 +5669,8 @@ IF @ProductVersionMajor >= 10
56695669

56705670
IF @CheckProcedureCache = 1
56715671

5672+
BEGIN
5673+
56725674
IF @Debug IN (1, 2) RAISERROR('Begin checking procedure cache', 0, 1) WITH NOWAIT;
56735675

56745676
BEGIN
@@ -6060,6 +6062,7 @@ IF @ProductVersionMajor >= 10
60606062
END;
60616063

60626064
END; /* IF @CheckProcedureCache = 1 */
6065+
END;
60636066

60646067
/*Check to see if the HA endpoint account is set at the same as the SQL Server Service Account*/
60656068
IF @ProductVersionMajor >= 10

0 commit comments

Comments
 (0)