1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

added test for bug #2290 "output truncated with ELT when using DISTINCT"

This commit is contained in:
vva@eagle.mysql.r18.ru
2004-01-21 02:18:51 +04:00
parent f982614ae2
commit 4a668f95ce
3 changed files with 17 additions and 1 deletions

View File

@ -154,3 +154,12 @@ INSERT INTO t1 VALUES ('House passes the CAREERS bill');
SELECT CONCAT("</a>",RPAD("",(55 - LENGTH(title)),".")) from t1;
DROP TABLE t1;
#
# test for Bug #2290 "output truncated with ELT when using DISTINCT"
#
CREATE TABLE t1 (i int, j int);
INSERT INTO t1 VALUES (1,1),(2,2);
SELECT DISTINCT i, ELT(j, '345', '34') FROM t1;
DROP TABLE t1;