Skip to content

Commit

Permalink
Updated code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
montywi committed Jun 14, 2020
1 parent d35616a commit 1cca837
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sql/sql_table.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion storage/maria/ma_state.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1cca837

Please sign in to comment.