Skip to content

Commit

Permalink
Merge branch 'main' into enable-verification
Browse files Browse the repository at this point in the history
  • Loading branch information
hmeriann committed Aug 7, 2024
2 parents 2945d89 + ae0ecf1 commit 2a86d1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/statement_generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -798,7 +798,8 @@ unique_ptr<ParsedExpression> StatementGenerator::GenerateFunction() {
case CatalogType::MACRO_ENTRY: {
auto &macro_entry = function.Cast<MacroCatalogEntry>();
name = macro_entry.name;
min_parameters = macro_entry.function->parameters.size();
idx_t macro_idx = RandomValue(macro_entry.macros.size());
min_parameters = macro_entry.macros[macro_idx]->parameters.size();
max_parameters = min_parameters;
break;
}
Expand Down

0 comments on commit 2a86d1a

Please sign in to comment.