mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
5487d7a8c0
Removed usage of @r/result as this made life hard when testing different table handlers. Allow concurrent inserts if no update/binary log. Don't remove key_cache at flush tables. Fixed bug in SELECT DISTINCT SUM()...
18 lines
357 B
Text
18 lines
357 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);
|
|
|
|
select id from t1 where id in (2,5,9) ;
|
|
select id from t1 where id=2 or id=5 or id=9 ;
|
|
drop table t1;
|