Commit c7abe519 authored by unknown's avatar unknown

Init dying to 1 just after passing the guard

parent 6a7c5b71
...@@ -837,6 +837,7 @@ void die(const char *fmt, ...) ...@@ -837,6 +837,7 @@ void die(const char *fmt, ...)
*/ */
if (dying) if (dying)
cleanup_and_exit(1); cleanup_and_exit(1);
dying= 1;
/* Print the error message */ /* Print the error message */
fprintf(stderr, "mysqltest: "); fprintf(stderr, "mysqltest: ");
......
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