Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
GrigoriyPA committed Feb 7, 2025
1 parent 5074f3b commit 3256e1c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ydb/tests/tools/kqprun/kqprun.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ struct TExecutionOptions {

private:
void ValidateOptionsSizes(const TRunnerOptions& runnerOptions) const {
const auto checker = [numberQueries = ScriptQueries.size()](size_t checkSize, const TString& optionName, bool useInShcemeQuery = false) {
if (checkSize > std::max(numberQueries, static_cast<size_t>(useInShcemeQuery ? 1 : 0))) {
const auto checker = [numberQueries = ScriptQueries.size()](size_t checkSize, const TString& optionName, bool useInSchemeQuery = false) {
if (checkSize > std::max(numberQueries, static_cast<size_t>(useInSchemeQuery ? 1 : 0))) {
ythrow yexception() << "Too many " << optionName << ". Specified " << checkSize << ", when number of script queries is " << numberQueries;
}
};
Expand Down

0 comments on commit 3256e1c

Please sign in to comment.