Skip to content

Commit abdd7be

Browse files
committed
Cough bug cough
1 parent 1cc978d commit abdd7be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sp_Blitz.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8731,9 +8731,9 @@ IF @ProductVersionMajor >= 10 AND NOT EXISTS ( SELECT 1
87318731
)
87328732
BEGIN
87338733
/* This needs to be a "dynamic" SQL statement because if the 'instant_file_initialization_enabled' column doesn't exist the procedure might fail on a bind error */
8734-
SET @StringToExecute = N'SELECT @IFISetting = instant_file_initialization_enabled' +
8735-
N'FROM sys.dm_server_services' +
8736-
N'WHERE filename LIKE ''%sqlservr.exe%''' +
8734+
SET @StringToExecute = N'SELECT @IFISetting = instant_file_initialization_enabled' + @crlf +
8735+
N'FROM sys.dm_server_services' + @crlf +
8736+
N'WHERE filename LIKE ''%sqlservr.exe%''' + @crlf +
87378737
N'OPTION (RECOMPILE);';
87388738

87398739
IF @Debug = 2 AND @StringToExecute IS NOT NULL PRINT @StringToExecute;

0 commit comments

Comments
 (0)