Commit 8dcd83d0 authored by unknown's avatar unknown

testcase for a bug not yet fixed. Once fixed, the test should fail

in EXPLAIN's output.


mysql-test/t/maria.test:
  adding a test for "incorrect key file" error in UPDATE with
  row_format=dynamic (does not happen with row_format=page)
parent 562923e8
......@@ -431,6 +431,17 @@ update t1 set a='bbb' where a='aaa';
select concat(a,'.') from t1;
drop table t1;
# test again but with dynamic format
create table t1 ( a text not null, key a (a(20))) row_format=dynamic;
insert into t1 values ('aaa '),('aaa'),('aa');
check table t1;
repair table t1;
select concat(a,'.') from t1 where a='aaa';
select concat(a,'.') from t1 where binary a='aaa';
update t1 set a='bbb' where a='aaa';
select concat(a,'.') from t1;
drop table t1;
#
# More space testing
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment