Skip to content

Commit 1224d53

Browse files
authored
Merge pull request #3336 from BrentOzarULTD/3331_spills
sp_BlitzCache all-sorts bug
2 parents 43b2902 + aba25c6 commit 1224d53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sp_BlitzCache.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6908,7 +6908,7 @@ SET @AllSortSql += N'
69086908
EXEC sp_BlitzCache @ExpertMode = 0, @HideSummary = 1, @Top = @i_Top, @SortOrder = ''avg spills'', @IgnoreSqlHandles = @ISH,
69096909
@DatabaseName = @i_DatabaseName, @SkipAnalysis = @i_SkipAnalysis, @OutputDatabaseName = @i_OutputDatabaseName, @OutputSchemaName = @i_OutputSchemaName, @OutputTableName = @i_OutputTableName, @CheckDateOverride = @i_CheckDateOverride, @MinutesBack = @i_MinutesBack WITH RECOMPILE;
69106910
6911-
UPDATE #bou_allsort SET Pattern = ''avg memory grant'' WHERE Pattern IS NULL OPTION(RECOMPILE);';
6911+
UPDATE #bou_allsort SET Pattern = ''avg spills'' WHERE Pattern IS NULL OPTION(RECOMPILE);';
69126912
IF @ExportToExcel = 1
69136913
BEGIN
69146914
SET @AllSortSql += N' UPDATE #bou_allsort

0 commit comments

Comments
 (0)