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;
|
|
|
|
}
|
|
|
|
|
2014-11-12 00:11:07 +01:00
|
|
|
CreateStatement::~CreateStatement() {
|
|
|
|
delete file_path;
|
|
|
|
delete table_name;
|
|
|
|
}
|
|
|
|
|
2014-11-26 00:26:20 +01:00
|
|
|
InsertStatement::~InsertStatement() {
|
|
|
|
delete table_name;
|
|
|
|
delete select;
|
|
|
|
}
|
|
|
|
|
2014-11-26 14:43:22 +01:00
|
|
|
DeleteStatement::~DeleteStatement() {
|
|
|
|
delete expr;
|
|
|
|
}
|
|
|
|
|
2014-11-26 00:26:20 +01:00
|
|
|
|
|
|
|
|
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
|