mirror of
https://github.com/MariaDB/server.git
synced 2025-07-05 12:42:17 +03:00
TVC can be used in IN subquery and in PARTITION BY struct now. Special variable to control working of optimization added.
7 lines
171 B
Plaintext
7 lines
171 B
Plaintext
create table t1 (a int);
|
|
insert into t1 values (1),(2);
|
|
select max('foo') from t1 group by value(a), extractvalue('bar','qux') order by "v";
|
|
max('foo')
|
|
foo
|
|
drop table t1;
|