Valgrind error ha_maria::check_if_incompatible_data on altering a partitioned Aria table
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
New
|
Medium
|
Michael Widenius |
Bug Description
CREATE TABLE t1 (a INT, b INT, KEY(a)) ENGINE=Aria
PARTITION BY KEY(a) PARTITIONS 2;
ALTER TABLE t1 ADD KEY (b);
==11035== Conditional jump or move depends on uninitialised value(s)
==11035== at 0x93EBA0: ha_maria:
==11035== by 0x7DACA3: ha_partition:
==11035== by 0x7F4CB0: compare_
==11035== by 0x7F78C1: mysql_alter_
==11035== by 0x68C41C: mysql_execute_
==11035== by 0x696008: mysql_parse(THD*, char*, unsigned int, char const**) (sql_parse.cc:6217)
==11035== by 0x687E9C: dispatch_
==11035== by 0x686D97: do_command(THD*) (sql_parse.cc:906)
==11035== by 0x683D30: handle_
==11035== by 0x54F7EFB: start_thread (pthread_
==11035== by 0x57F059C: clone (clone.S:112)
Reproducible on MariaDB 5.1 revno 3151, MariaDB 5.2, 5.3, 5.5.
Two statements above is the complete test case.