Skip to content

Commit

Permalink
chore: Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Weijun-H committed Oct 11, 2024
1 parent 240e45d commit 765eff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/utility.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ fn is_support_utility(stmt_type: NodeTag) -> bool {
}

fn view_query(query_string: &core::ffi::CStr) -> Result<bool> {
// if the schema is not set in the query, use the current schema in Postgres by default
// Use the current scheme if the schema is not provided in the query.
let current_schema = get_postgres_current_schema();
// Set DuckDB search path according search path in Postgres
set_search_path_by_pg()?;
Expand Down

0 comments on commit 765eff9

Please sign in to comment.