| 50 | const std::vector<SQLStatement*>& SQLParserResult::getStatements() const { return statements_; } |
| 51 | |
| 52 | std::vector<SQLStatement*> SQLParserResult::releaseStatements() { |
| 53 | std::vector<SQLStatement*> copy = statements_; |
| 54 | |
| 55 | statements_.clear(); |
| 56 | |
| 57 | return copy; |
| 58 | } |
| 59 | |
| 60 | void SQLParserResult::reset() { |
| 61 | for (SQLStatement* statement : statements_) { |