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