mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge work.mysql.com:/home/bk/mysql
into work.mysql.com:/home/bk/mysql-4.0 Docs/manual.texi: Auto merged client/mysqldump.c: Auto merged libmysql/Makefile.am: Auto merged libmysql_r/Makefile.am: Auto merged myisam/mi_check.c: Auto merged sql/log_event.cc: Auto merged sql/sql_parse.cc: Auto merged
This commit is contained in:
10
mysql-test/r/isam.result
Normal file
10
mysql-test/r/isam.result
Normal file
@ -0,0 +1,10 @@
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 repair status OK
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 repair status OK
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
@ -1,2 +1,12 @@
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 repair status OK
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 repair status OK
|
||||
Table Op Msg_type Msg_text
|
||||
test.t1 check status OK
|
||||
|
19
mysql-test/t/isam.test
Normal file
19
mysql-test/t/isam.test
Normal file
@ -0,0 +1,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;
|
@ -16,3 +16,23 @@ INSERT INTO t1 VALUES ('HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
|
||||
INSERT INTO t1 VALUES ('WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW');
|
||||
CHECK TABLE t1;
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# Test problem with rows that are 65517-65520 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),65550-$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;
|
||||
|
Reference in New Issue
Block a user