Fixed a bug in mysql when running in non-interactive mode (batch)

parent afe5fa0e
...@@ -743,6 +743,7 @@ static int get_options(int argc, char **argv) ...@@ -743,6 +743,7 @@ static int get_options(int argc, char **argv)
strmov(pager, "stdout"); strmov(pager, "stdout");
opt_nopager= 1; opt_nopager= 1;
opt_outfile= 0; opt_outfile= 0;
connect_flag= 0; /* Not in interactive mode */
} }
if (default_charset) if (default_charset)
{ {
......
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