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/r/partition.result | |
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/r/partition.result')
-rw-r--r-- | mysql-test/r/partition.result | 6 |
1 files changed, 6 insertions, 0 deletions
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 |