Commit c7b3eeb1 authored by bar@bar.mysql.r18.ru's avatar bar@bar.mysql.r18.ru

sql_show.cc:

  Bug fix
  0 stayed for length here, now it is charset.
parent 63a307bb
...@@ -923,7 +923,7 @@ mysqld_show_keys(THD *thd, TABLE_LIST *table_list) ...@@ -923,7 +923,7 @@ mysqld_show_keys(THD *thd, TABLE_LIST *table_list)
protocol->store((const char*) pos, system_charset_info); protocol->store((const char*) pos, system_charset_info);
protocol->store(table->file->index_type(i), system_charset_info); protocol->store(table->file->index_type(i), system_charset_info);
/* Comment */ /* Comment */
protocol->store("", 0); protocol->store("", system_charset_info);
if (protocol->write()) if (protocol->write())
DBUG_RETURN(1); /* purecov: inspected */ DBUG_RETURN(1); /* purecov: inspected */
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment