summaryrefslogtreecommitdiff
path: root/mysql-test/t/isam.test
blob: 1cf068b42bab91a5c68e45a59cecf604cc8708fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# Test possible problem with rows that are about 65535 bytes long
#

create table t1 (a tinyint not null auto_increment, b blob not null, primary key (a));

let $1=100;
while ($1)
{
  eval insert into t1 (b) values(repeat(char(65+$1),65540-$1));
  dec $1;
}
check table t1;
repair table t1;
delete from t1 where (a & 1);
check table t1;
repair table t1;
check table t1;
drop table t1;