Skip to content

Commit

Permalink
fix: add missing objects for schema empty check (#19672)
Browse files Browse the repository at this point in the history
  • Loading branch information
yezizp2012 authored Dec 4, 2024
1 parent 687e0b0 commit e5e0755
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/meta/src/manager/catalog/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -502,6 +502,9 @@ impl DatabaseManager {
.all(|s| s.schema_id != schema_id)
&& self.indexes.values().all(|i| i.schema_id != schema_id)
&& self.views.values().all(|v| v.schema_id != schema_id)
&& self.functions.values().all(|f| f.schema_id != schema_id)
&& self.connections.values().all(|c| c.schema_id != schema_id)
&& self.secrets.values().all(|s| s.schema_id != schema_id)
}

pub fn increase_relation_ref_count(&mut self, relation_id: RelationId) {
Expand Down

0 comments on commit e5e0755

Please sign in to comment.