Commit 8c13ae4c authored by zhujiashun's avatar zhujiashun

redis_server_protocol: refine err log

parent a678df6f
...@@ -109,7 +109,7 @@ int ConsumeCommand(RedisConnContext* ctx, ...@@ -109,7 +109,7 @@ int ConsumeCommand(RedisConnContext* ctx,
result = ch->Run(commands, &output, is_last); result = ch->Run(commands, &output, is_last);
if (result == RedisCommandHandler::CONTINUE) { if (result == RedisCommandHandler::CONTINUE) {
if (ctx->batched_size != 0) { if (ctx->batched_size != 0) {
LOG(ERROR) << "Do you forget to return OK when is_last is true?"; LOG(ERROR) << "Do you forget to return BATCHED_DONE when is_last is true?";
return -1; return -1;
} }
ctx->transaction_handler.reset(ch->NewTransactionHandler()); ctx->transaction_handler.reset(ch->NewTransactionHandler());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment