164
163
table->quick_keys.reset();
166
165
if (mysql_prepare_update(session, table_list, &conds, order_num, order))
172
168
old_covering_keys= table->covering_keys; // Keys used in WHERE
173
169
/* Check the fields we are going to modify */
174
170
if (setup_fields_with_no_wrap(session, 0, fields, MARK_COLUMNS_WRITE, 0, 0))
180
172
if (table->timestamp_field)
182
174
// Don't set timestamp column if this is modified