1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

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) && if ((table->key_info[n_key].flags & HA_NOSAME) &&
my_strcasecmp(system_charset_info, 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; drop->type= Alter_drop::KEY;
alter_info->flags|= ALTER_DROP_INDEX; 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 The change was done without using transid on rows (like in
bulk insert). In this case this thread is the only one 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. for all transactions.
*/ */
_ma_reset_history(share); _ma_reset_history(share);