Skip to content

Commit

Permalink
MDEV-11188: rpl.rpl_parallel_partition fails with valgrind warnings i…
Browse files Browse the repository at this point in the history
…n buildbot and outside
  • Loading branch information
Jan Lindström committed Oct 31, 2016
1 parent 425d341 commit 923a7f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions storage/xtradb/handler/ha_innodb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 923a7f8

Please sign in to comment.