修复bug: TSG-6324 在流式扫描过程中,发生版本号回滚导致的全量更新后,Maat_stream_scan_string_end释放rulescan流式扫描句柄时,会非法访问已被销毁的rulescan句柄内存,从而导致段错误。

This commit is contained in:
zhengchao
2021-05-13 16:11:37 +08:00
parent 1460f891c6
commit f2fac87894
4 changed files with 88 additions and 7 deletions

View File

@@ -185,7 +185,9 @@ struct _stream_para_t
struct _Maat_feather_t* feather;
const struct Maat_table_schema* p_real_table;
int virtual_table_id;
int version;
int last_full_version;
struct Maat_scanner *ref_scanner;
int thread_num;
int max_cross_size;
int caching_size;