Skip to content

Commit 3b64fed

Browse files
committed
Style: renamed prepare_keys_for_sys_ver()
1 parent bdb12d1 commit 3b64fed

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

sql/sql_table.cc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4341,14 +4341,13 @@ bool Column_definition::sp_prepare_create_field(THD *thd, MEM_ROOT *mem_root)
43414341

43424342

43434343
static bool
4344-
prepare_keys_for_sys_ver(THD *thd,
4344+
vers_prepare_keys(THD *thd,
43454345
HA_CREATE_INFO *create_info,
43464346
Alter_info *alter_info,
43474347
KEY **key_info,
43484348
uint key_count)
43494349
{
4350-
if (!create_info->versioned())
4351-
return false;
4350+
DBUG_ASSERT(create_info->versioned());
43524351

43534352
const System_versioning_info *versioning_info=
43544353
create_info->get_system_versioning_info();
@@ -4645,7 +4644,7 @@ handler *mysql_create_frm_image(THD *thd,
46454644
goto err;
46464645
}
46474646
}
4648-
if(prepare_keys_for_sys_ver(thd, create_info, alter_info, key_info,
4647+
if(vers_prepare_keys(thd, create_info, alter_info, key_info,
46494648
*key_count))
46504649
goto err;
46514650
}

0 commit comments

Comments
 (0)