diff options
Diffstat (limited to 'server/src/queryparser.cc')
-rw-r--r-- | server/src/queryparser.cc | 5 |
1 files changed, 5 insertions, 0 deletions
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") { |