mariadb/mysql-test/t/sel000031.test
unknown 2218bce9cc Cleanup of tests to make them less dependent of eachother
Added new big select test


mysql-test/r/rpl000004.a.result:
  Cleanup
mysql-test/r/show_check.result:
  Cleanup
mysql-test/r/shw000001.result:
  Cleanup
mysql-test/t/fulltext_multi.test:
  Cleanup
mysql-test/t/fulltext_order_by.test:
  Cleanup
mysql-test/t/rpl000001.test:
  Cleanup
mysql-test/t/rpl000002.test:
  Cleanup
mysql-test/t/rpl000003.test:
  Cleanup
mysql-test/t/rpl000004.test:
  Cleanup
mysql-test/t/rpl000005.test:
  Cleanup
mysql-test/t/rpl000006.test:
  Cleanup
mysql-test/t/rpl000007.test:
  Cleanup
mysql-test/t/rpl000008.test:
  Cleanup
mysql-test/t/rpl000009.test:
  Cleanup
mysql-test/t/rpl000010.test:
  Cleanup
mysql-test/t/rpl000011.test:
  Cleanup
mysql-test/t/rpl000012.test:
  Cleanup
mysql-test/t/rpl000013.test:
  Cleanup
mysql-test/t/rpl000014.test:
  Cleanup
mysql-test/t/rpl000015.test:
  Cleanup
mysql-test/t/rpl000016.test:
  Cleanup
mysql-test/t/sel000001.test:
  Cleanup
mysql-test/t/sel000002.test:
  Cleanup
mysql-test/t/sel000003.test:
  Cleanup
mysql-test/t/sel000031.test:
  Cleanup
mysql-test/t/sel000032.test:
  Cleanup
mysql-test/t/sel000033.test:
  Cleanup
mysql-test/t/sel000100.test:
  Cleanup
mysql-test/t/show_check.test:
  Cleanup
mysql-test/t/shw000001.test:
  Cleanup
2001-01-03 02:15:48 +02:00

20 lines
491 B
Text

# sel000031
#
# Versions
# --------
# 3.22
# 3.23
#
# Description
# -----------
# test for a bug with elt() and order by
drop table if exists t1,t2;
create table t1 (id int(10) not null unique);
create table t2 (id int(10) not null primary key,
val int(10) not null);
insert into t1 values (1),(2),(4);
insert into t2 values (1,1),(2,1),(3,1),(4,2);
@r/sel000031.result select one.id, elt(two.val,'one','two') from t1 one, t2 two where two.id=one.id order by one.id;
drop table t1,t2;