|
@@ -1032,13 +1032,6 @@ int redisc_exec(str *srv, str *res, str *cmd, ...)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- LM_DBG("rpl->rplRedis->type:%d\n", rpl->rplRedis->type);
|
|
|
|
- if(rpl->rplRedis->type == REDIS_REPLY_ERROR) {
|
|
|
|
- LM_ERR("Redis error:%.*s\n",
|
|
|
|
- (int)rpl->rplRedis->len, rpl->rplRedis->str);
|
|
|
|
- goto error_exec;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
if (check_cluster_reply(rpl->rplRedis, &rsrv)) {
|
|
if (check_cluster_reply(rpl->rplRedis, &rsrv)) {
|
|
LM_DBG("rsrv->ctxRedis = %p\n", rsrv->ctxRedis);
|
|
LM_DBG("rsrv->ctxRedis = %p\n", rsrv->ctxRedis);
|
|
if(rsrv->ctxRedis==NULL)
|
|
if(rsrv->ctxRedis==NULL)
|
|
@@ -1073,14 +1066,15 @@ int redisc_exec(str *srv, str *res, str *cmd, ...)
|
|
goto error_exec;
|
|
goto error_exec;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ }
|
|
|
|
|
|
- LM_DBG("rpl->rplRedis->type:%d\n", rpl->rplRedis->type);
|
|
|
|
- if(rpl->rplRedis->type == REDIS_REPLY_ERROR) {
|
|
|
|
- LM_ERR("Redis error:%.*s\n",
|
|
|
|
- (int)rpl->rplRedis->len, rpl->rplRedis->str);
|
|
|
|
- goto error_exec;
|
|
|
|
- }
|
|
|
|
|
|
+ LM_DBG("rpl->rplRedis->type:%d\n", rpl->rplRedis->type);
|
|
|
|
+ if(rpl->rplRedis->type == REDIS_REPLY_ERROR) {
|
|
|
|
+ LM_ERR("Redis error:%.*s\n",
|
|
|
|
+ (int)rpl->rplRedis->len, rpl->rplRedis->str);
|
|
|
|
+ goto error_exec;
|
|
}
|
|
}
|
|
|
|
+
|
|
STR_ZTOV(cmd->s[cmd->len], c);
|
|
STR_ZTOV(cmd->s[cmd->len], c);
|
|
rsrv->disable.consecutive_errors = 0;
|
|
rsrv->disable.consecutive_errors = 0;
|
|
va_end(ap);
|
|
va_end(ap);
|