Skip to content

Commit 8d64edd

Browse files
committed
Duh
Forgetterful.
1 parent f332e7b commit 8d64edd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sp_BlitzFirst.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1685,7 +1685,8 @@ BEGIN
16851685
DECLARE @MaxWorkspace BIGINT
16861686
SET @MaxWorkspace = (SELECT CAST(cntr_value AS INT)/1024 FROM #PerfmonStats WHERE counter_name = N'Maximum Workspace Memory (KB)')
16871687

1688-
IF @MaxWorkspace IS NULL
1688+
IF (@MaxWorkspace IS NULL
1689+
OR @MaxWorkspace = 0)
16891690
BEGIN
16901691
SET @MaxWorkspace = 1
16911692
END

0 commit comments

Comments
 (0)