diff options
author | anozdrin@mysql.com <> | 2006-03-09 03:10:39 +0300 |
---|---|---|
committer | anozdrin@mysql.com <> | 2006-03-09 03:10:39 +0300 |
commit | be527f3070c67455bc7d7a5e9361ee2b1f09461a (patch) | |
tree | f2751b5893235133e3a67a0cadb89e27a0a475c8 /sql/sql_show.cc | |
parent | 0903941d053e1bfba7e6265c4150e3a4fa6995cb (diff) | |
download | mariadb-git-be527f3070c67455bc7d7a5e9361ee2b1f09461a.tar.gz |
Fix for multiple test failures on some platforms.
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r-- | sql/sql_show.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc index 8920efa87ab..5c9d13cac3e 100644 --- a/sql/sql_show.cc +++ b/sql/sql_show.cc @@ -713,7 +713,8 @@ append_identifier(THD *thd, String *packet, const char *name, uint length) int get_quote_char_for_identifier(THD *thd, const char *name, uint length) { - if (!is_keyword(name,length) && + if (!length || + !is_keyword(name,length) && !require_quotes(name, length) && !(thd->options & OPTION_QUOTE_SHOW_CREATE)) return EOF; |