Skip to content

Commit 929b6bd

Browse files
authored
Merge pull request BrentOzarULTD#304 from BrentOzarULTD/issue-303
BrentOzarULTD#303 - sp_BlitzCache now truncates ##bou_BlitzCacheResults
2 parents c7dfbbb + 2da1849 commit 929b6bd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sp_BlitzCache.sql

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ Known limitations of this version:
188188
Unknown limitations of this version:
189189
- May or may not be vulnerable to the wick effect.
190190
191-
Changes in v3.0 - YYYY/MM/DD:
191+
Changes in v3.0 - 2016/06/18:
192192
- BREAKING CHANGE: Standardized input & output parameters to be
193193
consistent across the entire First Responder Kit. This also means the old
194194
old output parameter @Version is no more, because we are switching to
@@ -206,6 +206,8 @@ Changes in v3.0 - YYYY/MM/DD:
206206
-Remove Plan Handle From Cache, and Remove SQL Handle From Cache give you
207207
DBCC FREEPROCCACHE statements to remove items from Plan Cache
208208
-FIX: @IgnoreQueryHashes was not working. Should be working now.
209+
- Fixed ##bou_BlitzCacheResults not cleaned out after each pass. More info:
210+
https://github.com/BrentOzarULTD/SQL-Server-First-Responder-Kit/issues/303
209211
210212
Changes in v2.5.3 - 2016-04-28:
211213
- Erik Darling added warnings for Expensive Sorts, Key Lookups, Remote Queries.
@@ -756,6 +758,8 @@ IF LEFT(@QueryFilter, 3) NOT IN ('all', 'sta', 'pro')
756758

757759
IF @Reanalyze = 1 AND OBJECT_ID('tempdb..##bou_BlitzCacheResults') IS NULL
758760
SET @Reanalyze = 0;
761+
ELSE IF @Reanalyze = 0
762+
TRUNCATE TABLE ##bou_BlitzCacheResults;
759763

760764
if @SkipAnalysis = 1
761765
SET @HideSummary = 1;

0 commit comments

Comments
 (0)