diff options
author | deva <deva> | 2008-06-03 08:13:20 +0000 |
---|---|---|
committer | deva <deva> | 2008-06-03 08:13:20 +0000 |
commit | bb3fad646f94739a876869464a484c99795bce61 (patch) | |
tree | 1894d6b43055b654150bf9e56cc1baefce34dcad /server/src/queryparser.cc | |
parent | 13b9aa0c0ab5a7b66c08f7a7e02c193530640ed3 (diff) |
Added support for lua validator programs.
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") { |