Skip to content

Commit 1db723b

Browse files
committed
fix (ci_checker) : do not use a non-existing column in the logerrors stat query (#381)
1 parent dc32f5b commit 1db723b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/internal/observer/stats.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ func (c *ObservingClone) getMaxQueryTime(ctx context.Context, maxTime *float64)
129129
func (c *ObservingClone) countLogErrors(ctx context.Context, logErrors *LogErrors) error {
130130
row := c.superUserDB.QueryRow(ctx, `select coalesce(sum(count), 0), coalesce(string_agg(distinct message, ','), '')
131131
from pg_log_errors_stats()
132-
where type in ('ERROR', 'FATAL') and database = current_database()`)
132+
where type in ('ERROR', 'FATAL')`)
133133

134134
return row.Scan(&logErrors.Count, &logErrors.Message)
135135
}

0 commit comments

Comments
 (0)