fix the test case
This commit is contained in:
parent
adc1beb868
commit
44d0f5864e
2 changed files with 3 additions and 2 deletions
|
@ -249,7 +249,7 @@ create table t (pk int primary key, v vector(1) not null, vector(v)) engine=inno
|
|||
insert into t values (1,0x31313131),(2,0x32323232);
|
||||
select distinct vec_distance_euclidean(v, 0x30303030) as d from t order by pk;
|
||||
d
|
||||
0.0000000019375161827791346
|
||||
0.000000009731407668281116
|
||||
0.00000
|
||||
0.00000
|
||||
drop table t;
|
||||
# End of 11.7 tests
|
||||
|
|
|
@ -250,6 +250,7 @@ drop table t;
|
|||
|
||||
create table t (pk int primary key, v vector(1) not null, vector(v)) engine=innodb;
|
||||
insert into t values (1,0x31313131),(2,0x32323232); # optional, fails either way
|
||||
--replace_regex /(\.\d{5})\d+/\1/
|
||||
select distinct vec_distance_euclidean(v, 0x30303030) as d from t order by pk;
|
||||
drop table t;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue