From be527f3070c67455bc7d7a5e9361ee2b1f09461a Mon Sep 17 00:00:00 2001 From: "anozdrin@mysql.com" <> Date: Thu, 9 Mar 2006 03:10:39 +0300 Subject: Fix for multiple test failures on some platforms. --- sql/sql_show.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sql/sql_show.cc') 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; -- cgit v1.2.1