diff --git a/client/mysql.cc b/client/mysql.cc index 56f8184f416ba7baeb4bb173d5cf8234621ca2b2..a855288ddb06d3511c0cbe72d86c8486ec51a741 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -780,16 +780,14 @@ static int read_lines(bool execute_commands) " '> " : " \"> "); linebuffer[0]=(char) sizeof(linebuffer); line=_cgets(linebuffer); - if (opt_outfile) - fprintf(OUTFILE, "%s\n", line); #else line=readline((char*) (glob_buffer.is_empty() ? "mysql> " : !in_string ? " -> " : in_string == '\'' ? " '> " : " \"> ")); +#endif if (opt_outfile) fprintf(OUTFILE, "%s\n", line); -#endif } if (!line) // End of file {