Skip to content

Commit 8b804ca

Browse files
committed
address comments
1 parent a187280 commit 8b804ca

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/meta/src/controller/catalog/drop_op.rs

+8-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,14 @@ impl CatalogController {
5656
);
5757
indexes
5858
}
59-
_ => {
59+
ObjectType::Source
60+
| ObjectType::Sink
61+
| ObjectType::View
62+
| ObjectType::Index
63+
| ObjectType::Function
64+
| ObjectType::Connection
65+
| ObjectType::Subscription
66+
| ObjectType::Secret => {
6067
ensure_object_not_refer(object_type, object_id, &txn).await?;
6168
vec![]
6269
}

0 commit comments

Comments
 (0)