From 1cca83784f5063d04f8bfc73f47d0e7b4e709e18 Mon Sep 17 00:00:00 2001 From: Monty Date: Fri, 5 Jun 2020 12:48:33 +0300 Subject: Updated code comments --- sql/sql_table.cc | 2 +- storage/maria/ma_state.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/sql_table.cc b/sql/sql_table.cc index ff28939f8c4..e51ead077be 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -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; diff --git a/storage/maria/ma_state.c b/storage/maria/ma_state.c index 0e4d7bce7e4..c781f996f04 100644 --- a/storage/maria/ma_state.c +++ b/storage/maria/ma_state.c @@ -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); -- cgit v1.2.1