scan_hit_status_update_by_compile函数的循环中,未重置n_exsited_path,导致丢失命中的compile。
This commit is contained in:
@@ -318,6 +318,7 @@ size_t scan_hit_status_update_by_compile(struct scan_hit_status* hit_status, str
|
|||||||
{
|
{
|
||||||
TAILQ_FOREACH(p, &hit_status->hit_path_qhead, entries)
|
TAILQ_FOREACH(p, &hit_status->hit_path_qhead, entries)
|
||||||
{
|
{
|
||||||
|
n_exsited_path=0;
|
||||||
if(TO_RELATION_ID(p->path.virtual_table_id, p->path.top_group_id)==a_set.items[i].item_id
|
if(TO_RELATION_ID(p->path.virtual_table_id, p->path.top_group_id)==a_set.items[i].item_id
|
||||||
&& p->path.compile_id!=compile_rule->compile_id)
|
&& p->path.compile_id!=compile_rule->compile_id)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
#include "stream_fuzzy_hash.h"
|
#include "stream_fuzzy_hash.h"
|
||||||
#include "gram_index_engine.h"
|
#include "gram_index_engine.h"
|
||||||
|
|
||||||
int MAAT_FRAME_VERSION_2_8_20200403=1;
|
int MAAT_FRAME_VERSION_2_8_20200420=1;
|
||||||
|
|
||||||
int is_valid_table_name(const char* str)
|
int is_valid_table_name(const char* str)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user