order by refactoring

This commit is contained in:
2021-08-01 11:30:56 +02:00
parent 70c036f08c
commit 4a344d0e77
4 changed files with 51 additions and 37 deletions

2
usql.h
View File

@@ -55,8 +55,6 @@ private:
Parser m_parser;
std::list<Table> m_tables;
int compare_col_values(const ColDefNode &col_def, ColValue *a_val, ColValue *b_val) const;
void execute_order_by(SelectFromTableNode &node, Table *table, Table *result) const;
void execute_offset_limit(OffsetLimitNode &node, Table *result) const;