Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabteab committed Jan 26, 2023
1 parent ed50618 commit 9ca60c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema/pgsql/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ BEGIN

-- row count "1" because of the faked ending result used for the
-- cursor loop, whose result set is never used.
IF @@ROWCOUNT > 1 THEN
IF rowCounts > 0 THEN
result := 100 * (total_time - problem_time) / total_time;
END IF; -- else no data available to be reported

Expand Down

0 comments on commit 9ca60c8

Please sign in to comment.