mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 19:11:46 +01:00
4c6a415233
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
17 lines
387 B
Text
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 ;
|