Skip to content

Commit 3966d6c

Browse files
CopilotBrentOzar
andauthored
Consolidate CLR wait type inserts into one multi-value INSERT
Agent-Logs-Url: https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit/sessions/1a52e02a-1f91-4e35-90f1-3e02f7f2e449 Co-authored-by: BrentOzar <245462+BrentOzar@users.noreply.github.com>
1 parent f05ca11 commit 3966d6c

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

sp_BlitzFirst.sql

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -566,8 +566,9 @@ BEGIN
566566
INSERT INTO ##WaitCategories(WaitType, WaitCategory, Ignorable) VALUES ('CLR_RWLOCK_READER','SQL CLR',0);
567567
INSERT INTO ##WaitCategories(WaitType, WaitCategory, Ignorable) VALUES ('CLR_RWLOCK_WRITER','SQL CLR',0);
568568
INSERT INTO ##WaitCategories(WaitType, WaitCategory, Ignorable) VALUES ('CLR_SEMAPHORE','SQL CLR',1);
569-
INSERT INTO ##WaitCategories(WaitType, WaitCategory, Ignorable) VALUES ('CLR_TASK_START','SQL CLR',0);
570-
INSERT INTO ##WaitCategories(WaitType, WaitCategory, Ignorable) VALUES ('CLRHOST_STATE_ACCESS','SQL CLR',0);
569+
INSERT INTO ##WaitCategories(WaitType, WaitCategory, Ignorable)
570+
VALUES ('CLR_TASK_START','SQL CLR',0),
571+
('CLRHOST_STATE_ACCESS','SQL CLR',0);
571572
INSERT INTO ##WaitCategories(WaitType, WaitCategory, Ignorable) VALUES ('CMEMPARTITIONED','Memory',0);
572573
INSERT INTO ##WaitCategories(WaitType, WaitCategory, Ignorable) VALUES ('CMEMTHREAD','Memory',0);
573574
INSERT INTO ##WaitCategories(WaitType, WaitCategory, Ignorable) VALUES ('CXPACKET','Parallelism',0);

0 commit comments

Comments
 (0)