Skip to content

Commit

Permalink
Fix compile (#2498)
Browse files Browse the repository at this point in the history
### What problem does this PR solve?

### Type of change

- [x] Refactoring
  • Loading branch information
yangzq50 authored Jan 26, 2025
1 parent dd039f2 commit f9f0485
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/local_infinity/fulltext/fulltext_benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ void BenchmarkQuery(SharedPtr<Infinity> infinity, const String &db_name, const S
output_columns->emplace_back(select_rowid_expr);
output_columns->emplace_back(select_score_expr);
}
infinity->Search(db_name, table_name, search_expr, nullptr, nullptr, nullptr, output_columns, nullptr, nullptr, nullptr, false);
infinity->Search(db_name, table_name, search_expr, nullptr, nullptr, nullptr, output_columns, nullptr, nullptr, nullptr, nullptr, false);
/*
auto result = infinity->Search(db_name, table_name, search_expr, nullptr, output_columns);
{
Expand Down
1 change: 1 addition & 0 deletions benchmark/local_infinity/infinity_benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ int main() {
nullptr,
nullptr,
nullptr,
nullptr,
false);
});
results.push_back(fmt::format("-> Select QPS: {}", total_times / tims_costing_second));
Expand Down

0 comments on commit f9f0485

Please sign in to comment.