summaryrefslogtreecommitdiff
path: root/mysql-test/t/ndb_partition_range.test
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2006-02-28 17:51:27 +0100
committerunknown <tomas@poseidon.ndb.mysql.com>2006-02-28 17:51:27 +0100
commitb70aaf38bc351045af3d2415d94fddf80f2c5e22 (patch)
tree4b6d0c8da8a05f3625e6e9d284f85cbe2ecc8a12 /mysql-test/t/ndb_partition_range.test
parent174791b5cdf75774f65915da6b51649fadad7c5b (diff)
downloadmariadb-git-b70aaf38bc351045af3d2415d94fddf80f2c5e22.tar.gz
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
Diffstat (limited to 'mysql-test/t/ndb_partition_range.test')
-rw-r--r--mysql-test/t/ndb_partition_range.test6
1 files changed, 5 insertions, 1 deletions
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)