diff --git a/storage/innobase/ha/ha0storage.cc b/storage/innobase/ha/ha0storage.cc index 4a99d5f6e69a3..ef7cc78a4ddae 100644 --- a/storage/innobase/ha/ha0storage.cc +++ b/storage/innobase/ha/ha0storage.cc @@ -67,6 +67,7 @@ ha_storage_put_memlim( (mem_heap_alloc(storage->heap, sizeof *node + data_len)); node->data_len= data_len; node->data= &node[1]; + node->next= nullptr; memcpy(const_cast(node->data), data, data_len); *after= node; return node->data;