1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Small change in mysql.cc

This commit is contained in:
jani@prima.mysql.com
2000-11-20 19:56:13 +02:00
parent c3730a53d7
commit b355c2e993

View File

@ -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
{