1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Automerge.

This commit is contained in:
Alexey Kopytov
2010-05-27 14:08:44 +04:00
5 changed files with 46 additions and 1 deletions

View File

@@ -408,7 +408,7 @@ int mysql_update(THD *thd,
matching rows before updating the table!
*/
if (used_index < MAX_KEY && old_covering_keys.is_set(used_index))
table->mark_columns_used_by_index(used_index);
table->add_read_columns_used_by_index(used_index);
else
{
table->use_all_columns();