From ec5d5b171d9c25e045c8a7c880910b824c8965e5 Mon Sep 17 00:00:00 2001 From: zhengchao Date: Thu, 23 Jun 2016 16:11:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtable=5Finfo.conf=E4=B8=ADtab?= =?UTF-8?q?leid=E4=B8=8D=E8=BF=9E=E7=BB=AD=EF=BC=8C=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E7=9A=84=E9=83=A8=E5=88=86=E5=9B=9E=E8=B0=83=E8=A1=A8=E6=B2=A1?= =?UTF-8?q?=E6=9C=89start=E8=B0=83=E7=94=A8=E5=92=8Ccreate=5Fmaat=5Fscanne?= =?UTF-8?q?r=E4=B8=AD=E6=AE=B5=E9=94=99=E8=AF=AF=E7=9A=84bug=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entry/Maat_rule.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/entry/Maat_rule.cpp b/src/entry/Maat_rule.cpp index c354c53..82aabf6 100644 --- a/src/entry/Maat_rule.cpp +++ b/src/entry/Maat_rule.cpp @@ -26,7 +26,7 @@ #include "mesa_fuzzy.h" #include "great_index_engine.h" -int MAAT_FRAME_VERSION_1_8_20160617_PERF_TEST=1; +int MAAT_FRAME_VERSION_1_8_20160623_PERF_TEST=1; const char *maat_module="MAAT Frame"; const char* CHARSET_STRING[]={"NONE","gbk","big5","unicode","utf8","bin", @@ -941,8 +941,12 @@ struct _Maat_scanner_t* create_maat_scanner(unsigned int version,_Maat_feather_t scanner->tomb_ref=tomb; scanner->region_rslt_buff=(scan_result_t*)malloc(sizeof(scan_result_t)*MAX_SCANNER_HIT_NUM*scan_thread_num); - for(i=0;itable_type) { case TABLE_TYPE_DIGEST: @@ -2521,7 +2525,7 @@ void maat_start_cb(unsigned int new_version,int update_type,void*u_para) feather->maat_version,new_version); feather->maat_version=new_version; } - for(i=0;itable_cnt;i++) + for(i=0;ip_table_info[i]; if(p_table==NULL||p_table->table_type!=TABLE_TYPE_PLUGIN)