[PATCH]add log handle for maat_wrap_redis_command
This commit is contained in:
@@ -333,8 +333,10 @@ static int get_region_seq(struct iris_description *iris_cfg)
|
||||
if (NULL == iris_cfg->redis_write_ctx) {
|
||||
sequence = iris_cfg->region_cnt + 1;
|
||||
} else {
|
||||
redisReply *data_reply = maat_wrap_redis_command(iris_cfg->redis_write_ctx,
|
||||
"INCRBY %s 1", mr_region_id_var);
|
||||
redisReply *data_reply =
|
||||
maat_wrap_redis_command(iris_cfg->redis_write_ctx, NULL,
|
||||
"INCRBY %s 1", mr_region_id_var);
|
||||
|
||||
sequence = (int)data_reply->integer;
|
||||
freeReplyObject(data_reply);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user