HyriseSQLParser/src/lib/destructors.cpp

51 lines
701 B
C++
Raw Normal View History

2014-11-07 15:21:54 +01:00
#include "sqllib.h"
namespace hsql {
Statement::~Statement() {
/* empty */
}
StatementList::~StatementList() {
delete parser_msg;
}
SelectStatement::~SelectStatement() {
delete from_table;
delete select_list;
delete where_clause;
delete group_by;
delete order;
delete limit;
}
ImportStatement::~ImportStatement() {
delete file_path;
delete table_name;
}
CreateStatement::~CreateStatement() {
delete file_path;
delete table_name;
}
2014-11-17 22:13:11 +01:00
OrderDescription::~OrderDescription() {
delete expr;
}
TableRef::~TableRef() {
delete name;
delete alias;
delete select;
delete list;
}
JoinDefinition::~JoinDefinition() {
delete left;
delete right;
delete condition;
}
2014-11-07 15:21:54 +01:00
} // namespace hsql