From 04b890d202b23fef6803869db98810ad6f3af4c0 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Sat, 6 Sep 2025 10:44:05 +0900
Subject: fix(*): support compile_error as worker result

---
 backend/query.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'backend/query.sql')

diff --git a/backend/query.sql b/backend/query.sql
index 2dc3084..9baf593 100644
--- a/backend/query.sql
+++ b/backend/query.sql
@@ -110,6 +110,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'
-- 
cgit v1.3.1

