Skip to content

Commit b5d7b6b

Browse files
committed
fix for #3742
1 parent f41fe51 commit b5d7b6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sp_Blitz.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6764,10 +6764,10 @@ IF @ProductVersionMajor >= 10
67646764

67656765
IF @Debug IN (1, 2) RAISERROR('Running CheckId [%d].', 0, 1, 271) WITH NOWAIT;
67666766

6767-
SET @tsql = N'SELECT COUNT(1) FROM sys.resource_governor_workload_groups
6767+
SET @tsql = N'SELECT @ExecRet_Out = COUNT(1) FROM sys.resource_governor_workload_groups
67686768
WHERE group_max_tempdb_data_percent <> 0
67696769
AND group_max_tempdb_data_mb IS NULL';
6770-
EXEC @ExecRet = sp_executesql @tsql;
6770+
EXEC @ExecRet = sp_executesql @tsql, N'@ExecRet_Out INT OUTPUT', @ExecRet_Out = @ExecRet OUTPUT;
67716771
IF @ExecRet > 0
67726772
BEGIN
67736773
DECLARE @TempDBfiles TABLE (config VARCHAR(50), data_files INT)

0 commit comments

Comments
 (0)