From df4d629891c94bd23b7b2de39a8c07ea4362a18c Mon Sep 17 00:00:00 2001 From: Alex Garcia Date: Sat, 20 Apr 2024 16:04:08 -0700 Subject: [PATCH] gha: more linxu + windows fix attempts --- sqlite-vec.c | 9 ++------- tests/test-loadable.py | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/sqlite-vec.c b/sqlite-vec.c index e80b97f..b0cd7bc 100644 --- a/sqlite-vec.c +++ b/sqlite-vec.c @@ -6,18 +6,13 @@ #include #include #include - +#include +#include #include "sqlite-vec.h" #include "sqlite3ext.h" SQLITE_EXTENSION_INIT1 -#ifdef HAVE_STDINT_H -#include -#endif -#ifdef HAVE_INTTYPES_H -#include -#endif #ifndef UINT32_TYPE # ifdef HAVE_UINT32_T diff --git a/tests/test-loadable.py b/tests/test-loadable.py index 730acbf..0f0604c 100644 --- a/tests/test-loadable.py +++ b/tests/test-loadable.py @@ -614,7 +614,7 @@ def test_smoke(): assert ( 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:" )