Commit 1cca8378 authored by Monty's avatar Monty

Updated code comments

parent d35616aa
......@@ -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;
......
......@@ -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);
......
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