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:" )