修正maat_redis_tool屏幕打印漏掉最后一个文件名的bug。

This commit is contained in:
zhengchao
2018-12-15 21:12:12 +06:00
parent 9a65747853
commit 2263b4edb1

View File

@@ -148,6 +148,7 @@ void read_rule_from_redis(redisContext * ctx, long long desire_version, const ch
table_fp=NULL;
fprintf(index_fp,"%s\t%d\t%s\n",cur_table,line_count,table_path);
set_file_rulenum(table_path,line_count, logger);
printf("Written table %s\n",table_path);
printf("Written complete: %s\n",index_path);
clean_up: