From baa787934a325c258e08b08d243e9c9bb2af6a77 Mon Sep 17 00:00:00 2001 From: ayou <550244300@qq.com> Date: Sat, 20 Sep 2025 00:17:31 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=85=81=E8=AE=B8=E6=9C=AA?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84get=5Fresult=5Fmode=5Ffrom=5Fconn?= =?UTF-8?q?=E5=87=BD=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/flow/executors/db.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/src/flow/executors/db.rs b/backend/src/flow/executors/db.rs index c5cf068..f552e9c 100644 --- a/backend/src/flow/executors/db.rs +++ b/backend/src/flow/executors/db.rs @@ -209,6 +209,7 @@ fn extract_connection_url(cfg: Value) -> anyhow::Result { } } +#[allow(dead_code)] fn get_result_mode_from_conn(conn: &Option) -> Option { match conn { Some(Value::Object(m)) => m.get("mode").and_then(|v| v.as_str()).map(|s| s.to_string()),