Skip to content

Commit f80432d

Browse files
author
Franz Renesnicek
committed
Set QUOTED_IDENTIFIER ON for CheckID = 164 to avoid a server crash (dump) when column sys.plan_guides.hints contains double quotes.
1 parent 658a2d6 commit f80432d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sp_Blitz.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6593,6 +6593,7 @@ IF @ProductVersionMajor >= 10
65936593

65946594
EXEC dbo.sp_MSforeachdb 'USE [?];
65956595
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
6596+
SET QUOTED_IDENTIFIER ON;
65966597
INSERT INTO #BlitzResults
65976598
(CheckID,
65986599
DatabaseName,

0 commit comments

Comments
 (0)