mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
test case for MyISAM sort-repair bug
This commit is contained in:
@ -385,3 +385,9 @@ check table t1;
|
|||||||
Table Op Msg_type Msg_text
|
Table Op Msg_type Msg_text
|
||||||
test.t1 check status OK
|
test.t1 check status OK
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
create table t1 ( a text not null, key a (a(20)));
|
||||||
|
insert into t1 values ('aaa '),('aaa');
|
||||||
|
repair table t1;
|
||||||
|
Table Op Msg_type Msg_text
|
||||||
|
test.t1 repair status OK
|
||||||
|
drop table t1;
|
||||||
|
@ -385,3 +385,12 @@ insert into t1 (b) values (repeat('z',100));
|
|||||||
update t1 set b="test" where left(b,1) > 'n';
|
update t1 set b="test" where left(b,1) > 'n';
|
||||||
check table t1;
|
check table t1;
|
||||||
drop table t1;
|
drop table t1;
|
||||||
|
|
||||||
|
#
|
||||||
|
# sort-repair bug
|
||||||
|
#
|
||||||
|
create table t1 ( a text not null, key a (a(20)));
|
||||||
|
insert into t1 values ('aaa '),('aaa');
|
||||||
|
repair table t1;
|
||||||
|
drop table t1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user