diff options
author | bjorn.munch@oracle.com <> | 2011-05-06 10:27:04 +0200 |
---|---|---|
committer | Bjorn Munch <bjorn.munch@oracle.com> | 2011-05-06 10:27:04 +0200 |
commit | f152d4cf05225efaffd3298e47ec540b763fb1b0 (patch) | |
tree | 645e1ea2659598cac24bc1f7732c5d77ecccb7d6 /mysql-test/r/archive.result | |
parent | f8b2499efec098acbd8a8d39d24986d4fa045225 (diff) | |
parent | d78354816f9be702f89be3251f5664cfa6e0ea7a (diff) | |
download | mariadb-git-f152d4cf05225efaffd3298e47ec540b763fb1b0.tar.gz |
Merge from mysql-5.5.12-release
Diffstat (limited to 'mysql-test/r/archive.result')
-rw-r--r-- | mysql-test/r/archive.result | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/r/archive.result b/mysql-test/r/archive.result index 231b7acb5b4..aacaff30898 100644 --- a/mysql-test/r/archive.result +++ b/mysql-test/r/archive.result @@ -12807,3 +12807,19 @@ DROP TABLE t1; # CREATE TABLE `a/../`(a INT) ENGINE=ARCHIVE; DROP TABLE `a/../`; +# +# BUG#57162 - valgrind errors, random data when returning +# ordered data from archive tables +# +SET sort_buffer_size=32804; +CREATE TABLE t1(a INT, b CHAR(255), c CHAR(255), d CHAR(255), +e CHAR(255), f INT) ENGINE=ARCHIVE DEFAULT CHARSET utf8; +INSERT INTO t1 VALUES(-1,'b','c','d','e',1); +INSERT INTO t1 SELECT * FROM t1; +INSERT INTO t1 SELECT * FROM t1; +INSERT INTO t1 SELECT t1.* FROM t1,t1 t2,t1 t3,t1 t4,t1 t5,t1 t6; +SELECT * FROM t1 ORDER BY f LIMIT 1; +a b c d e f +-1 b c d e 1 +DROP TABLE t1; +SET sort_buffer_size=DEFAULT; |