summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <Sinisa@sinisa.nasamreza.org>2002-08-27 16:01:25 +0300
committerunknown <Sinisa@sinisa.nasamreza.org>2002-08-27 16:01:25 +0300
commit3302bb62952e3ea60e61ae8b6226b43a7c3cdf2b (patch)
treea1708d63cecc46d39fce8717e1bcceb652556a9b /client
parentf3a076d4f8aab7beffb6ceeed9a36064b2c5a072 (diff)
downloadmariadb-git-3302bb62952e3ea60e61ae8b6226b43a7c3cdf2b.tar.gz
A small bug fix for the tee command ...
Diffstat (limited to 'client')
-rw-r--r--client/mysql.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index 66df47bc934..69633d1edce 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -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;