Skip to content

Commit ed6b487

Browse files
bsquidwrdBrentOzar
authored andcommitted
Update Check 93 (#1996)
Only run Check 93 if @IsWindowsOperatingSystem = 1
1 parent aa0147d commit ed6b487

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sp_Blitz.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,7 @@ AS
10051005
/* Filter out databases that were recently restored: */
10061006
LEFT OUTER JOIN msdb.dbo.restorehistory rh ON bs.database_name = rh.destination_database_name AND rh.restore_date > DATEADD(dd, -14, GETDATE())
10071007
WHERE UPPER(LEFT(bmf.physical_device_name, 3)) <> 'HTT' AND
1008+
@IsWindowsOperatingSystem = 1 AND -- GitHub Issue #1995
10081009
UPPER(LEFT(bmf.physical_device_name COLLATE SQL_Latin1_General_CP1_CI_AS, 3)) IN (
10091010
SELECT DISTINCT
10101011
UPPER(LEFT(mf.physical_name COLLATE SQL_Latin1_General_CP1_CI_AS, 3))

0 commit comments

Comments
 (0)