mirror of
https://github.com/MariaDB/server.git
synced 2025-08-18 16:31:36 +02:00
18 lines
519 B
Text
18 lines
519 B
Text
source include/have_sequence.inc;
|
|
|
|
--echo #
|
|
--echo # MDEV-36205 subdist optimization
|
|
--echo #
|
|
# for now it'll just provide code coverage
|
|
# after MDEV-34805 it'll show the stats too
|
|
create table t1 (
|
|
id int unsigned auto_increment primary key,
|
|
v vector(500) not null,
|
|
vector index(v)
|
|
);
|
|
|
|
set rand_seed1=1234567890, rand_seed2=3;
|
|
insert t1 (v) select vec_fromtext(json_arrayagg(rand() order by rand())) from seq_1_to_500 veclen, seq_1_to_200 numvecs group by numvecs.seq;
|
|
drop table t1;
|
|
|
|
--echo # End of 12.1 tests
|