diff options
author | unknown <kaa@kaamos.(none)> | 2008-02-14 12:54:23 +0300 |
---|---|---|
committer | unknown <kaa@kaamos.(none)> | 2008-02-14 12:54:23 +0300 |
commit | 659c61168bd483e76b2f0404c94dcc64dbdae2e4 (patch) | |
tree | 2cc83e6a7f8aa0c708973ee54e9a693c67223ce9 /mysql-test/t | |
parent | 4f17b0e180f6486ed4a55af968eb5691296db235 (diff) | |
parent | c4fc5b096e582f23bac8bc14cb93f6ade63f476f (diff) | |
download | mariadb-git-659c61168bd483e76b2f0404c94dcc64dbdae2e4.tar.gz |
Merge kaamos.(none):/data/src/opt/mysql-5.0-opt
into kaamos.(none):/data/src/opt/mysql-5.1-opt
sql/filesort.cc:
Auto merged
mysql-test/r/order_by.result:
Manual merge.
mysql-test/t/order_by.test:
Manual merge.
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/order_by.test | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/order_by.test b/mysql-test/t/order_by.test index 71238504d36..898742c2682 100644 --- a/mysql-test/t/order_by.test +++ b/mysql-test/t/order_by.test @@ -836,3 +836,14 @@ eval set @tmp_tables_after = SELECT @tmp_tables_after = @tmp_tables_before; DROP TABLE t1; +--echo # +--echo # Bug#31590: Wrong error message on sort buffer being too small. +--echo # +create table t1(a int, b tinytext); +insert into t1 values (1,2),(3,2); +set session sort_buffer_size= 30000; +set session max_sort_length= 2180; +--error 1038 +select * from t1 order by b; +drop table t1; + |