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