Skip to content

Commit

Permalink
fix rebase fallout
Browse files Browse the repository at this point in the history
  • Loading branch information
Centril committed Oct 23, 2024
1 parent 7676b41 commit 98cea8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/core/src/host/module_host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -916,7 +916,9 @@ impl ModuleHost {
let db = self.db();
let auth = self.auth_ctx_for(identity);
let (table_names, table_ids): (Vec<_>, Vec<_>) = db
.with_read_only(&ExecutionContext::internal(db.address()), |tx| db.get_all_tables(tx))
.with_read_only(&ExecutionContext::internal(db.database_identity()), |tx| {
db.get_all_tables(tx)
})
.expect("ids_to_name: database in a broken state?")
.iter()
.filter(|schema| is_table_visible(schema, &auth))
Expand Down

0 comments on commit 98cea8d

Please sign in to comment.