summaryrefslogtreecommitdiff
path: root/mysql-test/r/partition_mgm.result
diff options
context:
space:
mode:
authorunknown <mikael/pappa@dator5.(none)>2006-07-10 17:08:42 -0400
committerunknown <mikael/pappa@dator5.(none)>2006-07-10 17:08:42 -0400
commit907df8e3c8ae2133aa9ec4b7807f618ec571e10e (patch)
tree38367371fcfbb953af90c4fca59068a3a6c06bc9 /mysql-test/r/partition_mgm.result
parent60d070b2736fb3d326eacd973a5af9a2ba094c84 (diff)
downloadmariadb-git-907df8e3c8ae2133aa9ec4b7807f618ec571e10e.tar.gz
BUG#20893: Valgrind error
mysql-test/r/partition_mgm.result: Added new test case mysql-test/t/partition_mgm.test: Added new test case sql/ha_partition.cc: Fixed memory overwrite, added new variable for memory check Problem was when reorganising partitions, the file handles got in the wrong place. sql/ha_partition.h: Added new variable for debugging mostly
Diffstat (limited to 'mysql-test/r/partition_mgm.result')
-rw-r--r--mysql-test/r/partition_mgm.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/partition_mgm.result b/mysql-test/r/partition_mgm.result
index 0f2c8c57872..f64ffaff495 100644
--- a/mysql-test/r/partition_mgm.result
+++ b/mysql-test/r/partition_mgm.result
@@ -24,3 +24,15 @@ hello/master-data/test/t1#P#p0.MYD
hello/master-data/test/t1#P#p0.MYI
hello/master-data/test/t1.frm
hello/master-data/test/t1.par
+drop table t1;
+create table t1 (a int)
+partition by list (a)
+subpartition by hash (a)
+(partition p11 values in (1,2),
+partition p12 values in (3,4));
+alter table t1 REORGANIZE partition p11, p12 INTO
+(partition p1 values in (1,2,3,4));
+alter table t1 REORGANIZE partition p1 INTO
+(partition p11 values in (1,2),
+partition p12 values in (3,4));
+drop table t1;