Commit 923a7f86 authored by Jan Lindström's avatar Jan Lindström

MDEV-11188: rpl.rpl_parallel_partition fails with valgrind warnings in buildbot and outside

parent 425d341b
......@@ -11248,6 +11248,12 @@ ha_innobase::create(
zip_dict_ids = static_cast<ulint*>(
mem_heap_alloc(heap, form->s->fields * sizeof(ulint)));
/* This is currently required for valgrind because MariaDB does
not currently support compressed columns. */
for (size_t field_idx = 0; field_idx < form->s->fields; ++field_idx) {
zip_dict_ids[field_idx] = ULINT_UNDEFINED;
}
const char* err_zip_dict_name = 0;
if (!innobase_check_zip_dicts(form, zip_dict_ids,
trx, &err_zip_dict_name)) {
......
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