mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
A small bug fix for the tee command ...
This commit is contained in:
@ -1855,7 +1855,7 @@ com_tee(String *buffer, char *line __attribute__((unused)))
|
|||||||
while (end > file_name && (isspace(end[-1]) || iscntrl(end[-1])))
|
while (end > file_name && (isspace(end[-1]) || iscntrl(end[-1])))
|
||||||
end--;
|
end--;
|
||||||
end[0]= 0;
|
end[0]= 0;
|
||||||
if (!strlen(outfile))
|
if (!strlen(file_name))
|
||||||
{
|
{
|
||||||
printf("No outfile specified!\n");
|
printf("No outfile specified!\n");
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user