Skip to content

Commit a051fb0

Browse files
committed
Bug#25152165 DATA NODES RESTART AFTER ALTER ONLINE TABLE REORGANIZE PARTITION
Test case demonstrating bug. Tables with primary key longer than ~80 bytes can not reorganize.
1 parent cf0162a commit a051fb0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mysql-test/suite/ndb/t/ndb_addnode.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ CREATE TABLESPACE ts_1
2828
INITIAL_SIZE 16M
2929
ENGINE NDB;
3030

31-
create table t1(id int NOT NULL PRIMARY KEY, data char(8)) engine=ndb;
31+
# Using a pk bigger than 80 bytes, see bug#25152165.
32+
create table t1(id int, data char(8), id2 binary(80), primary key (id, id2)) engine=ndb;
3233
create table t2(id int NOT NULL PRIMARY KEY, data char(8))
3334
TABLESPACE ts_1 STORAGE DISK engine=ndb;
3435
# BUG#13714648

0 commit comments

Comments
 (0)