mariadb/mysql-test/t/sel000033.test
monty@donna.mysql.com 9ff59511a5 Cleanup of tests to make them less dependent of eachother
Added new big select test
2001-01-03 02:15:48 +02:00

18 lines
397 B
Text

# sel000033
#
# Versions
# --------
# 3.22
# 3.23
#
# Description
# -----------
# test for a bug with in() and unique key
drop table if exists t1;
create table t1 (id int(10) primary key);
insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9);
@r/sel000033.result select id from t1 where id in (2,5,9) ;
@r/sel000033.result select id from t1 where id=2 or id=5 or id=9 ;
drop table t1;