mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Bug #12114 patch
mysql-test/r/ndb_partition_error.result: New test program mysql-test/t/ndb_partition_error.test: New test program storage/ndb/src/kernel/blocks/dbdict/Dbdict.cpp: Fixed error handling after CREATE_FRAGMENTATION_REF
This commit is contained in:
26
mysql-test/r/ndb_partition_error.result
Normal file
26
mysql-test/r/ndb_partition_error.result
Normal file
@ -0,0 +1,26 @@
|
||||
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);
|
||||
ERROR HY000: Can't create table './test/t1.frm' (errno: 1305)
|
||||
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;
|
Reference in New Issue
Block a user