Skip to content

Commit

Permalink
Fix for WorkloadSummary
Browse files Browse the repository at this point in the history
  • Loading branch information
spaghettidba committed Sep 20, 2022
1 parent ada9fe3 commit bbbe646
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions SharedAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.6.0")]
[assembly: AssemblyFileVersion("1.6.0")]
[assembly: AssemblyVersion("1.6.1")]
[assembly: AssemblyFileVersion("1.6.1")]
3 changes: 2 additions & 1 deletion WorkloadTools/Consumer/Analysis/WorkloadAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -645,9 +645,10 @@ UPDATE WS
sum_writes += T.sum_writes,
min_duration_us = CASE WHEN T.min_duration_us < WS.min_duration_us THEN T.min_duration_us ELSE WS.min_duration_us END,
max_duration_us = CASE WHEN T.max_duration_us > WS.max_duration_us THEN T.max_duration_us ELSE WS.max_duration_us END,
sum_duration_us += T.sum_duration_us,
min_execution_date = CASE WHEN T.min_execution_date < WS.min_execution_date THEN T.min_execution_date ELSE WS.min_execution_date END,
max_execution_date = CASE WHEN T.max_execution_date > WS.max_execution_date THEN T.max_execution_date ELSE WS.max_execution_date END,
sum_duration_us += T.sum_duration_us
execution_count += execution_count
FROM [{ConnectionInfo.SchemaName}].WorkloadSummary AS WS
INNER JOIN #WorkloadSummary AS T
ON T.application_id = WS.application_id
Expand Down

0 comments on commit bbbe646

Please sign in to comment.