config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/ndb/t/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/ndb/t/ndb_bug19390895.test

##############
# Bug#19390895  CRASH: DBSPJ (LINE: 1299); SIMULATEDBLOCK.CPP
#   
#  SCAN_FRAGREQ signal larger than MAX_SEND_MESSAGE_BYTESIZE (32k)
#  SPJ failed to use fragmented send of large signals.

create table t1 (
  a int,
  b int not null,
  c1 char(255),
  c2 char(255),
  key k1(b, c1, c2)
)
engine = ndb;

insert into t1(a,b,c1,c2) values
(0, 0, 0, 0),
(1, 1, 1, 1),
(2, 2, 2, 1),
(3, 3, 3, 3),
(4, 4, 4, 4),
(5, 5, 5, 5),
(6, 6, 6, 6),
(7, 7, 7, 7),
(8, 8, 8, 8),
(9, 9, 9, 9);

insert into t1 select a + 10,  b, c1, c2 from t1;
insert into t1 select a + 20,  b, c1, c2 from t1;
insert into t1 select a + 40,  b, c1, c2 from t1;
insert into t1 select a + 80,  b, c1, c2 from t1;
insert into t1 select a + 160, b, c1, c2 from t1;
insert into t1 select a + 320, b, c1, c2 from t1;
insert into t1 select a + 640, b, c1, c2 from t1;
insert into t1 select a + 1280, b, c1, c2 from t1;

explain
select * from t1 as x, t1 as y
 where y.b = x.a and y.c1 = x.c1 and y.c2 = x.c1;

select count(*) from t1 as x, t1 as y
 where y.b = x.a and y.c1 = x.c1 and y.c2 = x.c1;

drop table t1;

Man Man