summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorjani@prima.mysql.com <>2000-11-20 19:56:13 +0200
committerjani@prima.mysql.com <>2000-11-20 19:56:13 +0200
commitb355c2e99315e8a5863ad70002e8541015b24d2a (patch)
treea2e11d4d9080770b651f7d13ad75fe32d8347c58 /client
parentc3730a53d790284791011dc8970edc588c70f9dc (diff)
downloadmariadb-git-b355c2e99315e8a5863ad70002e8541015b24d2a.tar.gz
Small change in mysql.cc
Diffstat (limited to 'client')
-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
{