mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 01:34:17 +01:00
A small bug fix for the tee command ...
This commit is contained in:
parent
f3a076d4f8
commit
3302bb6295
1 changed files with 1 additions and 1 deletions
|
@ -1855,7 +1855,7 @@ com_tee(String *buffer, char *line __attribute__((unused)))
|
|||
while (end > file_name && (isspace(end[-1]) || iscntrl(end[-1])))
|
||||
end--;
|
||||
end[0]= 0;
|
||||
if (!strlen(outfile))
|
||||
if (!strlen(file_name))
|
||||
{
|
||||
printf("No outfile specified!\n");
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue