diff options
author | Michael Widenius <monty@askmonty.org> | 2012-10-31 23:49:51 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2012-10-31 23:49:51 +0200 |
commit | fb90c36284cab73c37355310bed33609fabf8aa2 (patch) | |
tree | 9de9b361d518463ec1e6d08bd6bfd7089666c9d7 /mysql-test/t/partition.test | |
parent | b7ae1194e235119a48975894992f71971de37e67 (diff) | |
download | mariadb-git-fb90c36284cab73c37355310bed33609fabf8aa2.tar.gz |
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
Diffstat (limited to 'mysql-test/t/partition.test')
-rw-r--r-- | mysql-test/t/partition.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test index 831271c68bb..66dea7340b5 100644 --- a/mysql-test/t/partition.test +++ b/mysql-test/t/partition.test @@ -2267,4 +2267,12 @@ SELECT 1 FROM t1 WHERE b < SOME DROP TABLE t1; +--echo +--echo MDEV-612 Valgrind error in ha_maria::check_if_incompatible_data +--echo + +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; + --echo End of 5.1 tests |