提交 ef2cf677 编写于 作者: A Alexey Zatelepin 提交者: alexey-milovidov

performance-test: allow several queries in xml scenarios [#CLICKHOUSE-3086]

上级 7bdc87ad
......@@ -868,7 +868,17 @@ private:
}
if (test_config->has("query"))
{
queries.push_back(test_config->getString("query"));
for (size_t i = 1; ; ++i)
{
std::string key = "query[" + std::to_string(i) + "]";
if (!test_config->has(key))
break;
queries.push_back(test_config->getString(key));
}
}
if (test_config->has("query_file"))
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册