mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
Small change in mysql.cc
client/mysql.cc: Small change in code, not even a bug fix.
This commit is contained in:
parent
0ddccac88f
commit
c21988993e
1 changed files with 1 additions and 3 deletions
|
@ -780,16 +780,14 @@ static int read_lines(bool execute_commands)
|
||||||
" '> " : " \"> ");
|
" '> " : " \"> ");
|
||||||
linebuffer[0]=(char) sizeof(linebuffer);
|
linebuffer[0]=(char) sizeof(linebuffer);
|
||||||
line=_cgets(linebuffer);
|
line=_cgets(linebuffer);
|
||||||
if (opt_outfile)
|
|
||||||
fprintf(OUTFILE, "%s\n", line);
|
|
||||||
#else
|
#else
|
||||||
line=readline((char*) (glob_buffer.is_empty() ? "mysql> " :
|
line=readline((char*) (glob_buffer.is_empty() ? "mysql> " :
|
||||||
!in_string ? " -> " :
|
!in_string ? " -> " :
|
||||||
in_string == '\'' ?
|
in_string == '\'' ?
|
||||||
" '> " : " \"> "));
|
" '> " : " \"> "));
|
||||||
|
#endif
|
||||||
if (opt_outfile)
|
if (opt_outfile)
|
||||||
fprintf(OUTFILE, "%s\n", line);
|
fprintf(OUTFILE, "%s\n", line);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
if (!line) // End of file
|
if (!line) // End of file
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue