Modifications to metadata and meta_ext handling

This commit is contained in:
2020-11-09 12:41:21 +00:00
parent 0b7fd87036
commit f0e47fb9eb
5 changed files with 295 additions and 188 deletions

View File

@@ -33,7 +33,7 @@ struct meta_ext_value_t {
union {
void *raw;
int bool;
int boolVal;
int32_t int32;
double dbl;
char *str;
@@ -47,6 +47,10 @@ struct meta_ext_value_t {
uint32_t is_const :1;
};
int tableRowToMetaExt(column_data **col_data, size_t n_cols, size_t row_idx,
struct meta_ext_t **ext_ptr);
struct meta_ext_t *allocMetaExt(void);
void freeMetaExt(struct meta_ext_t **meta_ext);
struct meta_ext_t **allocMetaExtList(size_t n_meta_ext_list);