diff options
Diffstat (limited to 'client/mysql.cc')
-rw-r--r-- | client/mysql.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc index 05e758dd5bd..eaf80a1014e 100644 --- a/client/mysql.cc +++ b/client/mysql.cc @@ -1857,7 +1857,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(file_name)) + if (end == file_name) { printf("No outfile specified!\n"); return 0; |