Skip to content

Commit

Permalink
Style: renamed prepare_keys_for_sys_ver()
Browse files Browse the repository at this point in the history
  • Loading branch information
midenok committed May 5, 2017
1 parent bdb12d1 commit 3b64fed
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sql/sql_table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4341,14 +4341,13 @@ bool Column_definition::sp_prepare_create_field(THD *thd, MEM_ROOT *mem_root)


static bool
prepare_keys_for_sys_ver(THD *thd,
vers_prepare_keys(THD *thd,
HA_CREATE_INFO *create_info,
Alter_info *alter_info,
KEY **key_info,
uint key_count)
{
if (!create_info->versioned())
return false;
DBUG_ASSERT(create_info->versioned());

const System_versioning_info *versioning_info=
create_info->get_system_versioning_info();
Expand Down Expand Up @@ -4645,7 +4644,7 @@ handler *mysql_create_frm_image(THD *thd,
goto err;
}
}
if(prepare_keys_for_sys_ver(thd, create_info, alter_info, key_info,
if(vers_prepare_keys(thd, create_info, alter_info, key_info,
*key_count))
goto err;
}
Expand Down

0 comments on commit 3b64fed

Please sign in to comment.