fix(oceanbase): show oracle mode schemas in sidebar

This commit is contained in:
t8y2 committed 2026-06-26 02:03:00 +08:00
1 parent 2dc71548c3
commit dff94d60f5
10 files changed
+73 -23

No files matched your search

@@ -22,6 +22,7 @@ pub(in crate::schema) async fn list_databases(
pub(in crate::schema) async fn list_schemas(pool: &PoolKind) -> Result<Vec<String>, String> {
match pool {
PoolKind::Mysql(p, mode) if *mode == MysqlMode::OceanBaseOracle => db::ob_oracle::list_schemas(p).await,
PoolKind::Postgres(p) => db::postgres::list_schemas(p).await,
_ => Ok(vec![]),
}