Skip to content

Commit 4da4830

Browse files
authored
Replace illegal character & in sp_Blitz for Markdown output result
The issue is caused by an illegal character (&) in the description of the Finding column for CheckID = 162. To resolve this issue, update the description to replace & with and, ensuring XML compatibility.
1 parent fbc68d6 commit 4da4830

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sp_Blitz.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8617,7 +8617,7 @@ IF @ProductVersionMajor >= 10
86178617
SELECT 162 AS CheckID ,
86188618
50 AS Priority ,
86198619
'Performance' AS FindingGroup ,
8620-
'Poison Wait Detected: CMEMTHREAD & NUMA' AS Finding ,
8620+
'Poison Wait Detected: CMEMTHREAD and NUMA' AS Finding ,
86218621
'https://www.brentozar.com/go/poison' AS URL ,
86228622
CONVERT(VARCHAR(10), (MAX([wait_time_ms]) / 1000) / 86400) + ':' + CONVERT(VARCHAR(20), DATEADD(s, (MAX([wait_time_ms]) / 1000), 0), 108) + ' of this wait have been recorded'
86238623
+ CASE WHEN ts.status = 1 THEN ' despite enabling trace flag 8048 already.'

0 commit comments

Comments
 (0)