[BUGFIX]fix hyperscan-5.4.2 literal empty string check bug
This commit is contained in:
@@ -49,7 +49,8 @@ void *compile_runtime_new(void *compile_schema, size_t max_thread_num,
|
||||
struct log_handle *logger);
|
||||
void compile_runtime_free(void *compile_runtime);
|
||||
|
||||
void compile_runtime_init(void *compile_runtime, struct maat_runtime *maat_rt);
|
||||
void compile_runtime_init(void *compile_runtime, struct maat_runtime *maat_rt,
|
||||
void *g2c_runtime);
|
||||
|
||||
int compile_runtime_update(void *compile_runtime, void *compile_schema,
|
||||
const char *table_name, const char *line,
|
||||
@@ -80,8 +81,7 @@ void compile_runtime_ex_data_iterate(struct compile_runtime *compile_rt,
|
||||
void *group2compile_runtime_new(void *g2c_schema, size_t max_thread_num,
|
||||
struct maat_garbage_bin *garbage_bin,
|
||||
struct log_handle *logger);
|
||||
void group2compile_runtime_init(void *g2c_runtime, void *compile_runtime,
|
||||
void *g2g_runtime);
|
||||
void group2compile_runtime_init(void *g2c_runtime, void *compile_runtime);
|
||||
void group2compile_runtime_free(void *g2c_runtime);
|
||||
|
||||
int group2compile_runtime_update(void *g2c_runtime, void *g2c_schema,
|
||||
|
||||
@@ -183,18 +183,10 @@ struct maat {
|
||||
struct log_handle *logger;
|
||||
struct maat_garbage_bin *garbage_bin;
|
||||
|
||||
int default_compile_table_id;
|
||||
int g2g_table_id; //group2group table id
|
||||
|
||||
/* statistics */
|
||||
struct maat_stat *stat;
|
||||
};
|
||||
|
||||
enum district_flag {
|
||||
DISTRICT_FLAG_UNSET,
|
||||
DISTRICT_FLAG_SET
|
||||
};
|
||||
|
||||
enum last_scan_flag {
|
||||
LAST_SCAN_UNSET,
|
||||
LAST_SCAN_SET,
|
||||
@@ -216,12 +208,6 @@ int my_scandir(const char *dir, struct dirent ***namelist,
|
||||
int(*filter)(const struct dirent *),
|
||||
int(*compar)(const void *, const void *));
|
||||
|
||||
struct item_district *item_district_new(int district_id);
|
||||
|
||||
void item_district_free(void *item_district);
|
||||
|
||||
int item_district_id(struct item_district *item_dist);
|
||||
|
||||
void *rule_monitor_loop(void *arg);
|
||||
|
||||
long long maat_runtime_get_sequence(struct maat_runtime *maat_rt, const char *key);
|
||||
|
||||
@@ -62,7 +62,7 @@ const char *table_manager_get_table_name(struct table_manager *tbl_mgr, int tabl
|
||||
|
||||
enum table_type table_manager_get_table_type(struct table_manager *tbl_mgr, int table_id);
|
||||
|
||||
int table_manager_get_defaut_compile_table_id(struct table_manager *tbl_mgr);
|
||||
int table_manager_get_default_compile_table_id(struct table_manager *tbl_mgr);
|
||||
int table_manager_get_group2group_table_id(struct table_manager *tbl_mgr);
|
||||
|
||||
int table_manager_get_valid_column(struct table_manager *tbl_mgr, int table_id);
|
||||
|
||||
Reference in New Issue
Block a user