usql update
This commit is contained in:
@@ -31,8 +31,8 @@ struct Table {
|
||||
void validate_row(Row &row);
|
||||
|
||||
std::string csv_string();
|
||||
int load_csv_string(const std::string &content);
|
||||
int load_csv_file(const std::string &filename);
|
||||
size_t load_csv_string(const std::string &content);
|
||||
size_t load_csv_file(const std::string &filename);
|
||||
|
||||
void print();
|
||||
|
||||
@@ -40,6 +40,7 @@ struct Table {
|
||||
std::vector<ColDefNode> m_col_defs;
|
||||
std::vector<Row> m_rows;
|
||||
std::vector<Index> m_indexes;
|
||||
std::mutex m_insert_guard;
|
||||
|
||||
void create_row_from_vector(const std::vector<ColDefNode> &colDefs, const std::vector<std::string> &csv_line);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user