1
drop table if exists t1;
11
(partition x1 values less than (5) nodegroup 12,
12
partition x2 values less than (10) nodegroup 13,
13
partition x3 values less than (20) nodegroup 14);
14
ERROR HY000: Can't create table 'test.t1' (errno: 140)
17
Error 1296 Got error 771 'Given NODEGROUP doesn't exist in this cluster' from NDB
18
Error 1005 Can't create table 'test.t1' (errno: 140)
25
partition by range (a)
27
(partition x1 values less than (5),
28
partition x2 values less than (10),
29
partition x3 values less than (20));
31
CREATE TABLE t1 (id INT) ENGINE=NDB
33
(PARTITION p0 VALUES IN (2, 4),
34
PARTITION p1 VALUES IN (42, 142));
35
INSERT INTO t1 VALUES (2);
36
UPDATE t1 SET id=5 WHERE id=2;
37
ERROR HY000: Table has no partition for value 5
39
create table t1 (a int,b int, c int)
43
(partition x123 values in (11, 12),
44
partition x234 values in (5, 1));
45
insert into t1 values (NULL,1,1);
46
ERROR HY000: Table has no partition for value NULL