From 7e966baa0db7df812074abf9595a83e2de2b9c53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Hatcher?= Date: Sun, 16 Nov 2025 11:19:49 +0100 Subject: [PATCH] FIX: Copilot's catch --- base/src/functions/database.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/src/functions/database.rs b/base/src/functions/database.rs index d38727a..8930eac 100644 --- a/base/src/functions/database.rs +++ b/base/src/functions/database.rs @@ -274,7 +274,7 @@ impl Model { } CalcResult::Boolean(b) => { return if b { - Ok(1) + Ok(db_left.column) } else { // Index 0 is out of range Err(CalcResult::Error {