diff --git a/src/entry/Maat_command.cpp b/src/entry/Maat_command.cpp index ec14be0..c4bd47c 100644 --- a/src/entry/Maat_command.cpp +++ b/src/entry/Maat_command.cpp @@ -1681,6 +1681,8 @@ int redis_flush_DB(redisContext* ctx, int db_index, void* logger) append_cmd_cnt++; redisAppendCommand(ctx,"SET MAAT_VERSION %lld",maat_redis_version); append_cmd_cnt++; + redisAppendCommand(ctx,"SET MAAT_PRE_VER %lld",maat_redis_version); + append_cmd_cnt++; redisAppendCommand(ctx,"SET SEQUENCE_REGION 1",maat_redis_version); append_cmd_cnt++; redisAppendCommand(ctx,"SET SEQUENCE_GROUP 1",maat_redis_version); diff --git a/src/entry/Maat_rule.cpp b/src/entry/Maat_rule.cpp index e1d1a41..09d1c05 100644 --- a/src/entry/Maat_rule.cpp +++ b/src/entry/Maat_rule.cpp @@ -30,7 +30,7 @@ #include "stream_fuzzy_hash.h" #include "gram_index_engine.h" -int MAAT_FRAME_VERSION_2_2_20180524=1; +int MAAT_FRAME_VERSION_2_2_20180529=1; const char* CHARSET_STRING[]={"NONE","gbk","big5","unicode","utf8","bin", "unicode_ascii_esc","unicode_ascii_aligned","unicode_ncr_dec","unicode_ncr_hex","url_encode_gb2312","url_encode_utf8",""};