Updated code comments

This commit is contained in:
Monty 2020-06-05 12:48:33 +03:00
parent d35616aab3
commit 1cca83784f
2 changed files with 2 additions and 2 deletions

View file

@ -10208,7 +10208,7 @@ bool mysql_alter_table(THD *thd, const LEX_CSTRING *new_db,
{
if ((table->key_info[n_key].flags & HA_NOSAME) &&
my_strcasecmp(system_charset_info,
drop->name, table->key_info[n_key].name.str) == 0) // Merge todo: review '.str'
drop->name, table->key_info[n_key].name.str) == 0)
{
drop->type= Alter_drop::KEY;
alter_info->flags|= ALTER_DROP_INDEX;

View file

@ -478,7 +478,7 @@ my_bool _ma_trnman_end_trans_hook(TRN *trn, my_bool commit,
/*
The change was done without using transid on rows (like in
bulk insert). In this case this thread is the only one
that is using the table and all rows will be visble
that is using the table and all rows will be visible
for all transactions.
*/
_ma_reset_history(share);