Lua debugger: inform user changes are rolled back.

When redis-cli will support the synchronous mode, this will not be
printed.
This commit is contained in:
antirez 2015-11-12 12:59:19 +01:00
parent 56d9bb8c55
commit 3ab0b4d6d0

View File

@ -1116,7 +1116,7 @@ static void repl(void) {
if (config.eval_ldb_end) { if (config.eval_ldb_end) {
config.eval_ldb_end = 0; config.eval_ldb_end = 0;
cliReadReply(0); cliReadReply(0);
printf("\n(Lua debugging session ended)\n\n"); printf("\n(Lua debugging session ended. Dataset changes rolled back)\n\n");
} }
elapsed = mstime()-start_time; elapsed = mstime()-start_time;