Commit 40f6a1d6 authored by unknown's avatar unknown

row0upd.c Fix a memory overwrite which can happen if we update or delete a > 8000-byte row


innobase/row/row0upd.c:
  Fix a memory overwrite which can happen if we update or delete a > 8000-byte row
parent a9a44543
......@@ -789,8 +789,8 @@ row_upd_store_row(
node->row = row_build(ROW_COPY_DATA, clust_index, rec, node->heap);
node->ext_vec = mem_heap_alloc(node->heap, rec_get_n_fields(rec));
node->ext_vec = mem_heap_alloc(node->heap, sizeof(ulint)
* rec_get_n_fields(rec));
if (node->is_delete) {
update = NULL;
} else {
......
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