Skip to content

Commit

Permalink
Replace illegal character & in sp_Blitz for Markdown output result
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
igaliney authored Dec 5, 2024
1 parent fbc68d6 commit 4da4830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sp_Blitz.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8617,7 +8617,7 @@ IF @ProductVersionMajor >= 10
SELECT 162 AS CheckID ,
50 AS Priority ,
'Performance' AS FindingGroup ,
'Poison Wait Detected: CMEMTHREAD & NUMA' AS Finding ,
'Poison Wait Detected: CMEMTHREAD and NUMA' AS Finding ,
'https://www.brentozar.com/go/poison' AS URL ,
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'
+ CASE WHEN ts.status = 1 THEN ' despite enabling trace flag 8048 already.'
Expand Down

0 comments on commit 4da4830

Please sign in to comment.