mariadb/mysql-test/t/sel000033.test

18 lines
377 B
Text
Raw Normal View History

# sel000033
#
# Versions
# --------
# 3.22
# 3.23
#
# Description
# -----------
# test for a bug with in() and unique key
drop table if exists t;
create table t (id int(10) primary key);
insert into t values (1),(2),(3),(4),(5),(6),(7),(8),(9);
sel000032.test backpropagated from mysql-4.0 sel000031.test backpropagated from mysql-4.0 sel000014.result backpropagated from mysql-4.0 sel000006.test s|r/3.23/|r/| sel000007.test s|r/3.23/|r/| sel000008.test s|r/3.23/|r/| sel000009.test s|r/3.23/|r/| sel000010.test s|r/3.23/|r/| sel000011.test s|r/3.23/|r/| sel000012.test s|r/3.23/|r/| sel000013.test s|r/3.23/|r/| sel000014.test s|r/3.23/|r/| sel000015.test s|r/3.23/|r/| sel000016.test s|r/3.23/|r/| sel000017.test s|r/3.23/|r/| sel000018.test s|r/3.23/|r/| sel000019.test s|r/3.23/|r/| sel000020.test s|r/3.23/|r/| sel000021.test s|r/3.23/|r/| sel000022.test s|r/3.23/|r/| sel000023.test s|r/3.23/|r/| sel000024.test s|r/3.23/|r/| sel000025.test s|r/3.23/|r/| sel000026.test s|r/3.23/|r/| sel000027.test s|r/3.23/|r/| sel000028.test s|r/3.23/|r/| sel000029.test s|r/3.23/|r/| sel000030.test s|r/3.23/|r/| sel000033.test s|r/3.23/|r/| sel000005.test s|r/3.23/|r/| ft0000001.test s|r/3.23/|r/| sel000004.test s|r/3.23/|r/| mysql-test/t/sel000004.test: s|r/3.23/|r/| mysql-test/t/ft0000001.test: s|r/3.23/|r/| mysql-test/t/sel000005.test: s|r/3.23/|r/| mysql-test/t/sel000006.test: s|r/3.23/|r/| mysql-test/t/sel000007.test: s|r/3.23/|r/| mysql-test/t/sel000008.test: s|r/3.23/|r/| mysql-test/t/sel000009.test: s|r/3.23/|r/| mysql-test/t/sel000010.test: s|r/3.23/|r/| mysql-test/t/sel000011.test: s|r/3.23/|r/| mysql-test/t/sel000012.test: s|r/3.23/|r/| mysql-test/t/sel000013.test: s|r/3.23/|r/| mysql-test/t/sel000014.test: s|r/3.23/|r/| mysql-test/t/sel000015.test: s|r/3.23/|r/| mysql-test/t/sel000016.test: s|r/3.23/|r/| mysql-test/t/sel000017.test: s|r/3.23/|r/| mysql-test/t/sel000018.test: s|r/3.23/|r/| mysql-test/t/sel000019.test: s|r/3.23/|r/| mysql-test/t/sel000020.test: s|r/3.23/|r/| mysql-test/t/sel000021.test: s|r/3.23/|r/| mysql-test/t/sel000022.test: s|r/3.23/|r/| mysql-test/t/sel000023.test: s|r/3.23/|r/| mysql-test/t/sel000024.test: s|r/3.23/|r/| mysql-test/t/sel000025.test: s|r/3.23/|r/| mysql-test/t/sel000026.test: s|r/3.23/|r/| mysql-test/t/sel000027.test: s|r/3.23/|r/| mysql-test/t/sel000028.test: s|r/3.23/|r/| mysql-test/t/sel000029.test: s|r/3.23/|r/| mysql-test/t/sel000030.test: s|r/3.23/|r/| mysql-test/t/sel000033.test: s|r/3.23/|r/| mysql-test/r/sel000014.result: backpropagated from mysql-4.0 mysql-test/t/sel000031.test: backpropagated from mysql-4.0 mysql-test/t/sel000032.test: backpropagated from mysql-4.0
2000-12-11 14:23:00 +01:00
@r/sel000033.result select id from t where id in (2,5,9) ;
@r/sel000033.result select id from t where id=2 or id=5 or id=9 ;