From 0036ab8c9737ac3c75d191b313b6487ac2f80f66 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 18 Jul 2006 09:33:40 -0400 Subject: BUG#20340: NODEGROUP in information_schema.partitions integer => error in error log when "default is put into it NODEGROUP string to cater for "default" in it mysql-test/r/ndb_partition_key.result: New test case mysql-test/t/ndb_partition_key.test: New test case sql/sql_show.cc: NODEGROUP string to cater for "default" in it --- mysql-test/r/ndb_partition_key.result | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'mysql-test/r/ndb_partition_key.result') diff --git a/mysql-test/r/ndb_partition_key.result b/mysql-test/r/ndb_partition_key.result index fd793c4c2c7..e478c23ec00 100644 --- a/mysql-test/r/ndb_partition_key.result +++ b/mysql-test/r/ndb_partition_key.result @@ -194,6 +194,12 @@ c2 TEXT NOT NULL, c3 INT NOT NULL, PRIMARY KEY(c1,c3)) ENGINE=NDB -PARTITION BY KEY(c3); +PARTITION BY KEY(c3) +(PARTITION p0 NODEGROUP 0, PARTITION p1 NODEGROUP 0); ALTER TABLE t1 ADD COLUMN c4 INT AFTER c1; +SELECT NODEGROUP,PARTITION_NAME FROM information_schema.partitions WHERE +table_name = "t1"; +NODEGROUP PARTITION_NAME +0 p0 +0 p1 DROP TABLE t1; -- cgit v1.2.1