mirror of
https://github.com/fluencelabs/redis
synced 2025-05-16 12:31:20 +00:00
More informative error when DEBUG RELOAD fails.
This commit is contained in:
parent
c7d23f3ed1
commit
71bb31bf16
@ -224,7 +224,7 @@ void debugCommand(redisClient *c) {
|
|||||||
}
|
}
|
||||||
emptyDb();
|
emptyDb();
|
||||||
if (rdbLoad(server.dbfilename) != REDIS_OK) {
|
if (rdbLoad(server.dbfilename) != REDIS_OK) {
|
||||||
addReply(c,shared.err);
|
addReplyError(c,"Error trying to load the RDB dump");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
redisLog(REDIS_WARNING,"DB reloaded by DEBUG RELOAD");
|
redisLog(REDIS_WARNING,"DB reloaded by DEBUG RELOAD");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user