Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
3ab0b4d6
Commit
3ab0b4d6
authored
Nov 12, 2015
by
antirez
Browse files
Lua debugger: inform user changes are rolled back.
When redis-cli will support the synchronous mode, this will not be printed.
parent
56d9bb8c
Changes
1
Show whitespace changes
Inline
Side-by-side
src/redis-cli.c
View file @
3ab0b4d6
...
@@ -1116,7 +1116,7 @@ static void repl(void) {
...
@@ -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;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment