Skip to content

Commit

Permalink
Merge pull request #3327 from Montro1981/dev
Browse files Browse the repository at this point in the history
Issue #3326 sp_Blitz fails on sys.traces
  • Loading branch information
BrentOzar authored Sep 10, 2023
2 parents 0f4c26b + 513f732 commit 43b2902
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions sp_Blitz.sql
Original file line number Diff line number Diff line change
Expand Up @@ -491,6 +491,12 @@ AS
FROM (VALUES(NULL, 92, NULL)) AS v (DatabaseName, CheckID, ServerName) /*xp_fixeddrives*/
WHERE @SkipXPFixedDrives = 1;

INSERT #SkipChecks (DatabaseName, CheckID, ServerName)
SELECT
v.*
FROM (VALUES(NULL, 106, NULL)) AS v (DatabaseName, CheckID, ServerName) /*alter trace*/
WHERE @SkipTrace = 1;

INSERT #SkipChecks (DatabaseName, CheckID, ServerName)
SELECT
v.*
Expand Down

0 comments on commit 43b2902

Please sign in to comment.