Commit ce8d4d39 authored by Sergei Golubchik's avatar Sergei Golubchik

cleanup: comment

parent a5b0a32a
...@@ -106,8 +106,7 @@ static TYPELIB grant_types = { sizeof(grant_names)/sizeof(char **), ...@@ -106,8 +106,7 @@ static TYPELIB grant_types = { sizeof(grant_names)/sizeof(char **),
/* Match the values of enum ha_choice */ /* Match the values of enum ha_choice */
static const char *ha_choice_values[] = {"", "0", "1"}; static const char *ha_choice_values[] = {"", "0", "1"};
static void store_key_options(THD *thd, String *packet, TABLE *table, static void store_key_options(THD *, String *, TABLE *, KEY *);
KEY *key_info);
#ifdef WITH_PARTITION_STORAGE_ENGINE #ifdef WITH_PARTITION_STORAGE_ENGINE
static void get_cs_converted_string_value(THD *thd, static void get_cs_converted_string_value(THD *thd,
...@@ -2193,8 +2192,7 @@ static void store_key_options(THD *thd, String *packet, TABLE *table, ...@@ -2193,8 +2192,7 @@ static void store_key_options(THD *thd, String *packet, TABLE *table,
} }
void void view_store_options(THD *thd, TABLE_LIST *table, String *buff)
view_store_options(THD *thd, TABLE_LIST *table, String *buff)
{ {
if (table->algorithm != VIEW_ALGORITHM_INHERIT) if (table->algorithm != VIEW_ALGORITHM_INHERIT)
{ {
...@@ -2210,15 +2208,8 @@ view_store_options(THD *thd, TABLE_LIST *table, String *buff) ...@@ -2210,15 +2208,8 @@ view_store_options(THD *thd, TABLE_LIST *table, String *buff)
} }
/* /**
Append DEFINER clause to the given buffer. Returns ALGORITHM clause of a view
SYNOPSIS
append_definer()
thd [in] thread handle
buffer [inout] buffer to hold DEFINER clause
definer_user [in] user name part of definer
definer_host [in] host name part of definer
*/ */
static const LEX_STRING *view_algorithm(TABLE_LIST *table) static const LEX_STRING *view_algorithm(TABLE_LIST *table)
......
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