2005-07-22 16:39:05 -04:00
|
|
|
drop table if exists t1;
|
|
|
|
CREATE TABLE t1 (
|
|
|
|
a int not null,
|
|
|
|
b int not null,
|
|
|
|
c int not null,
|
|
|
|
primary key(a,b),
|
|
|
|
index (a))
|
|
|
|
engine = ndb
|
|
|
|
partition by range (a)
|
|
|
|
partitions 3
|
|
|
|
(partition x1 values less than (5) nodegroup 12,
|
|
|
|
partition x2 values less than (10) nodegroup 13,
|
|
|
|
partition x3 values less than (20) nodegroup 14);
|
2005-11-23 22:45:02 +02:00
|
|
|
ERROR HY000: Can't create table 'test.t1' (errno: 140)
|
2005-11-06 00:20:37 +01:00
|
|
|
show warnings;
|
|
|
|
Level Code Message
|
|
|
|
Error 1296 Got error 771 'Given NODEGROUP doesn't exist in this cluster' from NDB
|
2005-11-23 22:45:02 +02:00
|
|
|
Error 1005 Can't create table 'test.t1' (errno: 140)
|
2005-07-22 16:39:05 -04:00
|
|
|
CREATE TABLE t1 (
|
|
|
|
a int not null,
|
|
|
|
b int not null,
|
|
|
|
c int not null,
|
|
|
|
primary key(a))
|
|
|
|
engine = ndb
|
|
|
|
partition by range (a)
|
|
|
|
partitions 3
|
|
|
|
(partition x1 values less than (5),
|
|
|
|
partition x2 values less than (10),
|
|
|
|
partition x3 values less than (20));
|
|
|
|
drop table t1;
|