mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +02:00
gha: more linxu + windows fix attempts
This commit is contained in:
parent
1b3731b2bb
commit
df4d629891
2 changed files with 3 additions and 8 deletions
|
|
@ -6,18 +6,13 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include "sqlite-vec.h"
|
#include "sqlite-vec.h"
|
||||||
|
|
||||||
#include "sqlite3ext.h"
|
#include "sqlite3ext.h"
|
||||||
SQLITE_EXTENSION_INIT1
|
SQLITE_EXTENSION_INIT1
|
||||||
|
|
||||||
#ifdef HAVE_STDINT_H
|
|
||||||
#include <stdint.h>
|
|
||||||
#endif
|
|
||||||
#ifdef HAVE_INTTYPES_H
|
|
||||||
#include <inttypes.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef UINT32_TYPE
|
#ifndef UINT32_TYPE
|
||||||
# ifdef HAVE_UINT32_T
|
# ifdef HAVE_UINT32_T
|
||||||
|
|
|
||||||
|
|
@ -614,7 +614,7 @@ def test_smoke():
|
||||||
|
|
||||||
assert (
|
assert (
|
||||||
explain_query_plan(
|
explain_query_plan(
|
||||||
"select * from vec_xyz where a match X'' order by distance limit 10"
|
"select * from vec_xyz where a match X'' and k = 10 order by distance"
|
||||||
)
|
)
|
||||||
== "SCAN vec_xyz VIRTUAL TABLE INDEX 0:knn:"
|
== "SCAN vec_xyz VIRTUAL TABLE INDEX 0:knn:"
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue