Skip to content

Commit

Permalink
fix: Provider when no table is provided
Browse files Browse the repository at this point in the history
  • Loading branch information
AmrDeveloper committed Aug 5, 2024
1 parent da6f74f commit bbd8fe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/data_provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn select_clang_ast_objects(
"unions" => select_unions(path, selected_columns)?,
"functions" => select_functions(path, selected_columns)?,
"globals" => select_variables(path, selected_columns)?,
_ => vec![],
_ => vec![Row { values: vec![] }],
};
Ok(rows)
}
Expand Down

0 comments on commit bbd8fe4

Please sign in to comment.