Skip to content

Commit baf6cb6

Browse files
authored
Merge pull request BrentOzarULTD#3793 from connormoolman/dev
sp_BlitzCache - fix for BrentOzarULTD#3791
2 parents 5b0d363 + ade1d55 commit baf6cb6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎sp_BlitzCache.sql‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1997,10 +1997,12 @@ IF @SortOrder = 'duplicate' /* Issue #3345 */
19971997
SET @body += N' INNER JOIN #duplicate_query_filter AS dqf ON x.sql_handle = dqf.sql_handle AND x.plan_handle = dqf.plan_handle AND x.creation_time = dqf.duplicate_creation_time ' + @nl ;
19981998
END
19991999

2000+
/* Removing to fix issue #3791
20002001
IF @VersionShowsAirQuoteActualPlans = 1
20012002
BEGIN
20022003
SET @body += N' CROSS APPLY sys.dm_exec_query_plan_stats(x.plan_handle) AS deqps ' + @nl ;
20032004
END
2005+
*/
20042006

20052007
SET @body += N' WHERE 1 = 1 ' + @nl ;
20062008

0 commit comments

Comments
 (0)