Commit 31e296c5 authored by Aleksey Midenkov's avatar Aleksey Midenkov

IB: wrong 'interface consistency' (fixes #47)

parent a03da4fa
......@@ -1965,7 +1965,6 @@ row_update_for_mysql_using_upd_graph(
upd_t* uvect = node->update;
upd_field_t* ufield;
dict_col_t* col;
const mysql_row_templ_t* t;
unsigned col_idx;
if (node->is_delete) {
ufield = &uvect->fields[0];
......@@ -1992,11 +1991,6 @@ row_update_for_mysql_using_upd_graph(
uvect->n_fields++;
ut_ad(node->in_mysql_interface); // otherwise needs to recalculate node->cmpl_info
/* Return trx_id back to mysql_rec (for the sake of interface consistency). */
t = &prebuilt->mysql_template[col_idx];
ut_ad(t->mysql_col_len == 8);
int8store(&mysql_rec[t->mysql_col_offset], trx->id);
}
ut_a(node->pcur->rel_pos == BTR_PCUR_ON);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment