diff --git a/usql/usql.cpp b/usql/usql.cpp index 3835007..ca18fe1 100644 --- a/usql/usql.cpp +++ b/usql/usql.cpp @@ -173,10 +173,8 @@ std::unique_ptr USql::eval_function_value_node(Table *table, Row &row evaluatedPars.push_back(eval_value_node(table, row, param.get(), nullptr, nullptr)); } - // at this moment no functions without parameter(s) or first param can be null if (evaluatedPars.empty() || evaluatedPars[0]->isNull()) - throw Exception("eval_function_value_node, no function parameter or first is null, function: " + fnc->function); - // return std::make_unique(); + return std::make_unique(); // TODO use some enum if (fnc->function == "lower") return lower_function(evaluatedPars);