usql update

This commit is contained in:
2022-01-16 19:54:19 +01:00
parent a45423692e
commit c01571bb84
13 changed files with 347 additions and 274 deletions

View File

@@ -138,7 +138,7 @@ struct ColBooleanValue : ColValue {
class Row {
public:
explicit Row(int cols_count, bool visible) : m_columns(cols_count), m_visible(visible) {};
explicit Row(int cols_count, bool visible) : m_visible(visible), m_columns(cols_count) {};
Row(const Row &other);
Row &operator=(Row other);
@@ -184,7 +184,7 @@ public:
void set_visible() { m_visible = true; };
void set_deleted() { m_visible = true; };
private:
private:
bool m_visible;
std::vector<std::variant<ColNullValue, ColIntegerValue, ColDoubleValue, ColStringValue, ColDateValue, ColBooleanValue>> m_columns;
};