diff options
author | Sergei Golubchik <sergii@pisem.net> | 2013-01-25 14:29:46 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2013-01-25 14:29:46 +0100 |
commit | 66d5ecaf1f3fa6902de5ed1a3d1853f074340147 (patch) | |
tree | 30c8f7ead83c804fe1d4f0c0546a039b48cb0599 /mysql-test/t/group_min_max.test | |
parent | 1b8132b410420bed148d97ba43b267791f5ce62f (diff) | |
download | mariadb-git-mariadb-5.1.67.tar.gz |
MDEV-729 lp:998028 - Server crashes on normal shutdown in closefrm after executing a query from MyISAM tablemariadb-5.1.67
don't write a key value into the record buffer - a key length can be larger then the record length.
Diffstat (limited to 'mysql-test/t/group_min_max.test')
-rw-r--r-- | mysql-test/t/group_min_max.test | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/t/group_min_max.test b/mysql-test/t/group_min_max.test index 8ab7e1c9cb4..4b5e8e82e54 100644 --- a/mysql-test/t/group_min_max.test +++ b/mysql-test/t/group_min_max.test @@ -1099,5 +1099,13 @@ ORDER BY min_a; DROP TABLE t1; +# +# MDEV-729 lp:998028 - Server crashes on normal shutdown in closefrm after executing a query from MyISAM table +# +create table t1 (a int, b varchar(1), key(b,a)) engine=myisam; +insert t1 values (1,'a'),(2,'b'),(3,'c'),(4,'d'),(5,'e'),(6,'f'),(7,'g'),(8,'h'),(null,'i'); +select min(a), b from t1 where a=7 or b='z' group by b; +flush tables; +drop table t1; --echo End of 5.1 tests |