summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <jani@prima.mysql.com>2000-11-20 19:56:13 +0200
committerunknown <jani@prima.mysql.com>2000-11-20 19:56:13 +0200
commitc21988993eaa0fe8d7c85e75559fbaf0d613222c (patch)
treea2e11d4d9080770b651f7d13ad75fe32d8347c58
parent0ddccac88f41a1ed938a78878dc9d045b2ae6026 (diff)
downloadmariadb-git-c21988993eaa0fe8d7c85e75559fbaf0d613222c.tar.gz
Small change in mysql.cc
client/mysql.cc: Small change in code, not even a bug fix.
-rw-r--r--client/mysql.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index 56f8184f416..a855288ddb0 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
{