Skip to content

Commit 228cd42

Browse files
Merge pull request #759 from erikdarlingdata/update/scoring-alignment-quickiecache-quickiestore
Fix arithmetic overflow in sp_QuickieStore wait stats
2 parents 8364408 + 704cb9e commit 228cd42

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Install-All/DarlingData.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43467,7 +43467,7 @@ OPTION(RECOMPILE);' + @nc10;
4346743467
N', ' +
4346843468
ws2.wait_category_desc +
4346943469
N' (' +
43470-
CONVERT(nvarchar(20), CONVERT(integer, ws2.total_wait_ms)) +
43470+
CONVERT(nvarchar(20), CONVERT(bigint, ws2.total_wait_ms)) +
4347143471
N' ms)'
4347243472
FROM #hi_wait_staging AS ws2
4347343473
WHERE ws2.query_hash = ws.query_hash

sp_QuickieStore/sp_QuickieStore.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5029,7 +5029,7 @@ OPTION(RECOMPILE);' + @nc10;
50295029
N', ' +
50305030
ws2.wait_category_desc +
50315031
N' (' +
5032-
CONVERT(nvarchar(20), CONVERT(integer, ws2.total_wait_ms)) +
5032+
CONVERT(nvarchar(20), CONVERT(bigint, ws2.total_wait_ms)) +
50335033
N' ms)'
50345034
FROM #hi_wait_staging AS ws2
50355035
WHERE ws2.query_hash = ws.query_hash

0 commit comments

Comments
 (0)