work on settings (set and show), perf improvement when adding row into table

This commit is contained in:
2021-08-09 14:15:42 +02:00
parent 474b789d12
commit 710531c455
13 changed files with 124 additions and 49 deletions

View File

@@ -18,9 +18,9 @@ namespace usql {
int columns_count() const { return m_col_defs.size(); };
int rows_count() const { return m_rows.size(); };
Row create_empty_row() const; // TODO this means unnecessary copying
void add_row(const Row &row);
void add_copy_of_row(const Row &row);
Row& create_empty_row();
void commit_row(const Row &row);
void commit_copy_of_row(const Row &row);
static void validate_column(const ColDefNode *col_def, ValueNode *col_val);
static void validate_column(const ColDefNode *col_def, ColValue *col_val);