diff options
author | monty@mashka.mysql.fi <> | 2002-09-03 15:44:25 +0300 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2002-09-03 15:44:25 +0300 |
commit | a01a0840dcb9fb7622e2c994ead985174df8daab (patch) | |
tree | 14062338992e5b5bda3d4e4cc498b6dd65a5a9c0 /client | |
parent | a5f9e95a932fb08d8998de2a49b7fc7b5c734b95 (diff) | |
download | mariadb-git-a01a0840dcb9fb7622e2c994ead985174df8daab.tar.gz |
Some trivial optimzations
Check if AND/OR expression can be NULL; Fixed bug in GROUP BY and-or-expression where expression could be NULL
Bug fix for SHOW OPEN TABLES when user didn't have privilege to access all open tables.
Better fix for ALTER TABLE on BDB tables.
Diffstat (limited to 'client')
-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; |