Skip to content

Commit c7d14b1

Browse files
Update sp_BlitzLock.sql
Closes #3283 Adds checks for owner and waiter mode showing S locks.
1 parent e7c2ecb commit c7d14b1

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

sp_BlitzLock.sql

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1813,6 +1813,16 @@ BEGIN
18131813
N'S',
18141814
N'IS'
18151815
)
1816+
OR dow.owner_mode IN
1817+
(
1818+
N'S',
1819+
N'IS'
1820+
)
1821+
OR dow.waiter_mode IN
1822+
(
1823+
N'S',
1824+
N'IS'
1825+
)
18161826
AND (dow.database_id = @DatabaseId OR @DatabaseName IS NULL)
18171827
AND (dow.event_date >= @StartDate OR @StartDate IS NULL)
18181828
AND (dow.event_date < @EndDate OR @EndDate IS NULL)

0 commit comments

Comments
 (0)