From e1d899372581dc8da84c829f1ba07637a024274c Mon Sep 17 00:00:00 2001 From: Bacon2994 <108093786+Bacon2994@users.noreply.github.com> Date: Thu, 7 May 2026 17:01:17 +0800 Subject: [PATCH] =?UTF-8?q?style(dbx-core):=20=E7=BB=9F=E4=B8=80=20Rust=20?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/dbx-core/src/schema.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/crates/dbx-core/src/schema.rs b/crates/dbx-core/src/schema.rs index 375e57af8..5d5ec40de 100644 --- a/crates/dbx-core/src/schema.rs +++ b/crates/dbx-core/src/schema.rs @@ -10,11 +10,7 @@ pub fn duckdb_query_tables(con: &duckdb::Connection) -> Result(0)?, - table_type: row.get::<_, String>(1)?, - comment: None, - }) + Ok(db::TableInfo { name: row.get::<_, String>(0)?, table_type: row.get::<_, String>(1)?, comment: None }) }) .map_err(|e| e.to_string())?; Ok(rows.filter_map(|r| r.ok()).collect())