mariadb/mysql-test/t/sel000033.test
unknown 4c6a415233 Tests backpropagated from mysql-4.0 bk tree
mysql-test/t/sel000004.test:
  backpropagated from mysql-4.0
mysql-test/t/sel000005.test:
  backpropagated from mysql-4.0
mysql-test/r/sel000004.result:
  backpropagated from mysql-4.0
mysql-test/r/sel000005.result:
  backpropagated from mysql-4.0
2000-12-11 14:09:31 +01:00

17 lines
387 B
Text

# 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);
@r/3.23/sel000033.result select id from t where id in (2,5,9) ;
@r/3.23/sel000033.result select id from t where id=2 or id=5 or id=9 ;