diff --git a/include/cql2cpp/node_evaluator.h b/include/cql2cpp/node_evaluator.h index fd32706..0215e83 100644 --- a/include/cql2cpp/node_evaluator.h +++ b/include/cql2cpp/node_evaluator.h @@ -115,6 +115,10 @@ const std::map> node_evals = { std::to_string(n->children().size()); return false; } + if (std::holds_alternative(vs.at(0))) { + *value = NullValue; + return true; + } if (not std::holds_alternative(vs.at(0)) and not std::holds_alternative(vs.at(0)) and not std::holds_alternative(vs.at(0)) and