Skip to content

Commit 78a23dc

Browse files
authored
Merge pull request #974 from BrentOzarULTD/sp_BQS_972
Closes #972
2 parents c4d2c71 + 4fd4085 commit 78a23dc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sp_BlitzCache.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2559,7 +2559,7 @@ FROM #relop AS r
25592559
JOIN selects AS s
25602560
ON s.QueryHash = r.QueryHash
25612561
CROSS APPLY r.relop.nodes('/p:RelOp') AS c(n)
2562-
WHERE r.relop.exist('/p:RelOp[(@PhysicalOp[.="Index Spool"])]') = 1
2562+
WHERE r.relop.exist('/p:RelOp[@PhysicalOp="Index Spool" AND @LogicalOp="Eager Spool"]') = 1
25632563
)
25642564
UPDATE b
25652565
SET b.index_spool_rows = sp.estimated_rows,

sp_BlitzQueryStore.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2362,7 +2362,7 @@ JOIN selects AS s
23622362
ON s.plan_id = r.plan_id
23632363
AND s.query_id = r.query_id
23642364
CROSS APPLY r.relop.nodes('/p:RelOp') AS c(n)
2365-
WHERE r.relop.exist('/p:RelOp[(@PhysicalOp[.="Index Spool"])]') = 1
2365+
WHERE r.relop.exist('/p:RelOp[@PhysicalOp="Index Spool" and @LogicalOp="Eager Spool"]') = 1
23662366
)
23672367
UPDATE ww
23682368
SET ww.index_spool_rows = sp.estimated_rows,

0 commit comments

Comments
 (0)