mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +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()...
20 lines
444 B
Text
20 lines
444 B
Text
# sel000032
|
|
#
|
|
# Versions
|
|
# --------
|
|
# 3.22
|
|
# 3.23
|
|
#
|
|
# Description
|
|
# -----------
|
|
# test for a bug with elt()
|
|
|
|
drop table if exists t1,t2;
|
|
create table t1 (id int(10) not null unique);
|
|
create table t2 (id int(10) not null primary key,
|
|
val int(10) not null);
|
|
insert into t1 values (1),(2),(4);
|
|
insert into t2 values (1,1),(2,1),(3,1),(4,2);
|
|
|
|
select one.id, elt(two.val,'one','two') from t1 one, t2 two where two.id=one.id;
|
|
drop table t1,t2;
|