aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/db/query.sql.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/db/query.sql.go')
-rw-r--r--backend/db/query.sql.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/db/query.sql.go b/backend/db/query.sql.go
index cdf1cc9..05c841d 100644
--- a/backend/db/query.sql.go
+++ b/backend/db/query.sql.go
@@ -35,6 +35,7 @@ SELECT
THEN 'running'
WHEN COUNT(CASE WHEN r.status = 'internal_error' THEN 1 END) > 0 THEN 'internal_error'
WHEN COUNT(CASE WHEN r.status = 'timeout' THEN 1 END) > 0 THEN 'timeout'
+ WHEN COUNT(CASE WHEN r.status = 'compile_error' THEN 1 END) > 0 THEN 'compile_error'
WHEN COUNT(CASE WHEN r.status = 'runtime_error' THEN 1 END) > 0 THEN 'runtime_error'
WHEN COUNT(CASE WHEN r.status = 'wrong_answer' THEN 1 END) > 0 THEN 'wrong_answer'
ELSE 'success'