From bb3fad646f94739a876869464a484c99795bce61 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 3 Jun 2008 08:13:20 +0000 Subject: Added support for lua validator programs. --- server/src/queryparser.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server/src/queryparser.cc') diff --git a/server/src/queryparser.cc b/server/src/queryparser.cc index fc64c76..0135515 100644 --- a/server/src/queryparser.cc +++ b/server/src/queryparser.cc @@ -47,6 +47,11 @@ void QueryParser::startTag(std::string name, std::map< std::string, std::string> if(name == "result") { this->timestamp = atol(attributes["timestamp"].c_str()); + + QueryResult q; + q.timestamp = this->timestamp; + stack.back()->groups[attributes["class"]] = q; + stack.push_back(&stack.back()->groups[attributes["class"]]); } if(name == "group") { -- cgit v1.2.3