From b70aaf38bc351045af3d2415d94fddf80f2c5e22 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 28 Feb 2006 17:51:27 +0100 Subject: Bug #17499 continued - moved initialization of used_partitions - more tests + removed reference to fixed bugs mysql-test/r/ndb_partition_range.result: Bug #17499 continued - more testing mysql-test/t/disabled.def: removed reference to fixed bugs mysql-test/t/ndb_partition_range.test: Bug #17499 continued - more testing sql/ha_ndbcluster.cc: Bug #17499 continued - moved initialization of used_partitions sql/sql_partition.cc: Bug #17499 continued - moved initialization of used_partitions --- mysql-test/t/ndb_partition_range.test | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mysql-test/t/ndb_partition_range.test') diff --git a/mysql-test/t/ndb_partition_range.test b/mysql-test/t/ndb_partition_range.test index 66235b0e9eb..5b70b26c97b 100644 --- a/mysql-test/t/ndb_partition_range.test +++ b/mysql-test/t/ndb_partition_range.test @@ -140,7 +140,7 @@ CREATE TABLE test.t1 ( a3 BIT NOT NULL, a4 DECIMAL(8,3), a5 INT NOT NULL, - a6 VARCHAR(255), + a6 INT, PRIMARY KEY(a1)) TABLESPACE ts1 STORAGE DISK ENGINE=NDB PARTITION BY LIST (a1) @@ -148,6 +148,10 @@ CREATE TABLE test.t1 ( PARTITION p1 VALUES IN (6,7,8,9, 10), PARTITION p2 VALUES IN (11, 12, 13, 14, 15)); +# Alter table directly without any statements inbetween +ALTER TABLE test.t1 DROP COLUMN a6; +ALTER TABLE test.t1 ADD COLUMN a6 VARCHAR(255); + let $j= 15; --disable_query_log while ($j) -- cgit v1.2.1