Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
KeXiangWang committed May 10, 2024
1 parent 9f903c0 commit 53cdb91
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/frontend/src/expr/function_impl/has_privilege.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,11 @@ fn get_user_name_by_id(user_info_reader: &UserInfoReader, user_id: i32) -> Resul
}

#[capture_context(CATALOG_READER, DB_NAME)]
fn get_grant_object_by_oid(catalog_reader: &CatalogReader, db_name: &str, oid: i32) -> Result<Object> {
fn get_grant_object_by_oid(
catalog_reader: &CatalogReader,
db_name: &str,
oid: i32,
) -> Result<Object> {
catalog_reader
.read_guard()
.get_database_by_name(db_name)
Expand Down

0 comments on commit 53cdb91

Please sign in to comment.