diff options
author | Monty <monty@mariadb.org> | 2020-06-05 12:48:33 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2020-06-14 19:39:43 +0300 |
commit | 1cca83784f5063d04f8bfc73f47d0e7b4e709e18 (patch) | |
tree | 0e83b96e00701e9daa8d57797048739a849cb8fd | |
parent | d35616aab38b96fac848218b828e254982230593 (diff) | |
download | mariadb-git-1cca83784f5063d04f8bfc73f47d0e7b4e709e18.tar.gz |
Updated code comments
-rw-r--r-- | sql/sql_table.cc | 2 | ||||
-rw-r--r-- | 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); |