From fb90c36284cab73c37355310bed33609fabf8aa2 Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Wed, 31 Oct 2012 23:49:51 +0200 Subject: Fixed MDEV-612, LP:1010759 - Valgrind error ha_maria::check_if_incompatible_data on mysql-test/r/partition.result: Added test case mysql-test/t/partition.test: Added test case sql/ha_partition.cc: Removed printing of not initialized variable storage/maria/ha_maria.cc: Don't copy variables that are not initialized --- mysql-test/r/partition.result | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'mysql-test/r/partition.result') diff --git a/mysql-test/r/partition.result b/mysql-test/r/partition.result index 49fe208d9bd..316921a5814 100644 --- a/mysql-test/r/partition.result +++ b/mysql-test/r/partition.result @@ -2246,4 +2246,10 @@ HAVING b > geomfromtext("") ); 1 DROP TABLE t1; + +MDEV-612 Valgrind error in ha_maria::check_if_incompatible_data + +CREATE TABLE t1 (a INT, b INT, KEY(a)) ENGINE=Aria PARTITION BY KEY(a) PARTITIONS 2; +ALTER TABLE t1 ADD KEY (b); +drop table t1; End of 5.1 tests -- cgit v1.2.1