[Commits] 923a7f8: MDEV-11188: rpl.rpl_parallel_partition fails with valgrind warnings in buildbot and outside

Jan Lindström jan.lindstrom at mariadb.com
Mon Oct 31 12:17:56 EET 2016


revision-id: 923a7f8675e262b45ee63bffb617477ca5b5011d (mariadb-10.0.28-3-g923a7f8)
parent(s): 425d341b980e412d5083056da7b017fbc8bb02e2
author: Jan Lindström
committer: Jan Lindström
timestamp: 2016-10-31 12:16:53 +0200
message:

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

---
 storage/xtradb/handler/ha_innodb.cc | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/storage/xtradb/handler/ha_innodb.cc b/storage/xtradb/handler/ha_innodb.cc
index 35ca879..e95fc36 100644
--- a/storage/xtradb/handler/ha_innodb.cc
+++ b/storage/xtradb/handler/ha_innodb.cc
@@ -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)) {


More information about the commits mailing list