[FEATURE]Refactor NOT clause, NOTE:forward incompatibility!!!
This commit is contained in:
@@ -91,7 +91,7 @@ int group2compile_runtime_update(void *g2c_runtime, void *g2c_schema,
|
||||
const char *table_name, const char *line,
|
||||
int valid_column);
|
||||
|
||||
long long group2compile_runtime_not_group_count(void *g2c_runtime);
|
||||
long long group2compile_runtime_not_clause_count(void *g2c_runtime);
|
||||
|
||||
long long group2compile_runtime_rule_count(void *g2c_runtime);
|
||||
|
||||
@@ -104,7 +104,7 @@ void maat_compile_state_reset(struct maat_compile_state *compile_state);
|
||||
void maat_compile_state_free(struct maat_compile_state *compile_state,
|
||||
struct maat *maat_instance, int thread_id);
|
||||
|
||||
void maat_compile_state_update(int vtable_id, struct maat_item *hit_items,
|
||||
int maat_compile_state_update(int vtable_id, struct maat_item *hit_items,
|
||||
size_t n_hit_item, struct maat_state *state);
|
||||
|
||||
size_t maat_compile_state_get_internal_hit_paths(struct maat_compile_state *compile_state,
|
||||
|
||||
@@ -155,7 +155,6 @@ struct maat_stat {
|
||||
long long *thread_call_cnt;
|
||||
long long *stream_num;
|
||||
long long *hit_cnt;
|
||||
long long *not_grp_hit_cnt;
|
||||
long long *maat_state_cnt;
|
||||
long long *maat_compile_state_cnt;
|
||||
long long *maat_state_free_cnt;
|
||||
@@ -190,11 +189,6 @@ struct maat {
|
||||
struct maat_stat *stat;
|
||||
};
|
||||
|
||||
enum compile_not_flag {
|
||||
COMPILE_NOT_UNSET,
|
||||
COMPILE_NOT_SET
|
||||
};
|
||||
|
||||
struct maat_state {
|
||||
struct maat *maat_inst;
|
||||
struct maat_compile_state *compile_state;
|
||||
@@ -203,7 +197,6 @@ struct maat_state {
|
||||
uint16_t thread_id;
|
||||
int16_t compile_table_id;
|
||||
uint8_t is_set_district;
|
||||
uint8_t compile_NOT_flag;
|
||||
};
|
||||
|
||||
int my_scandir(const char *dir, struct dirent ***namelist,
|
||||
|
||||
Reference in New Issue
Block a user