0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-21 03:48:12 +00:00
Commit Graph

135 Commits

Author SHA1 Message Date
3c68620017 ffi: release v0.4.1 2024-09-10 08:42:08 -04:00
e83b13b1d2 libsql: fix musl builds failing due to fcntl64
This fixes a build issue with musl based systems that do not have
fcntl64 in their libc. This is done by setting `FILE_OFFSET_BITS=32`
only for musl targets. This forces the compiler to not convert `fcntl`
to `fcntl64`.
2024-09-09 13:40:44 -04:00
bd3e0d6904 Merge pull request from tursodatabase/vector-search-fix-integrity-check
vector search: fix integrity check
2024-08-23 11:21:53 +00:00
2f15a0e060 Merge pull request from tursodatabase/hide-vector-index-for-sqlite-planner
vector search: hide vector index for sqlite planner
2024-08-23 08:45:12 +00:00
2d75b23571 build bundles 2024-08-22 14:58:14 +04:00
eff638e23d build bundles 2024-08-22 12:15:03 +04:00
6ed738ecdf build bundles 2024-08-22 00:48:30 +04:00
18e09dd88b build bundles 2024-08-19 20:26:57 +04:00
f2271b04a8 Merge pull request from tursodatabase/vector-search-int8
vector search: int8 support
2024-08-16 09:11:04 +00:00
fd1f5c4dee Merge pull request from tursodatabase/vector-search-full-support-all-column-types
vector search: full support all column types
2024-08-14 16:35:56 +00:00
4303c65d32 build bundles 2024-08-13 18:09:23 +04:00
8604065adb allow any neighbor compression types 2024-08-13 12:11:58 +04:00
7a0fa8c19f rename vector1bit.c -> vectorfloat1bit.c 2024-08-13 11:33:58 +04:00
acafcc8277 build bundles 2024-08-13 11:26:32 +04:00
db154137ad fix format specifier + build bundles 2024-08-13 11:13:46 +04:00
2d325ba8f6 windows compiler complains about operations with void* pointers
- error C2036: 'void *': unknown size ...
2024-08-12 18:46:14 +04:00
3c09fcec95 build bundles 2024-08-12 17:47:44 +04:00
51fc1daa1e build bundles 2024-08-12 17:27:15 +04:00
405c710736 refine comment 2024-08-12 11:56:04 +04:00
ac60c100d2 build bundles 2024-08-12 11:46:05 +04:00
b1dbaa13bb build bundles 2024-08-11 19:22:44 +04:00
8262d238f5 Merge pull request from tursodatabase/vector-search-compression
vector search: neighbors compression (1bit quantization)
2024-08-11 09:41:58 +00:00
4c38e5f11e build bundles 2024-08-11 12:58:50 +04:00
2aca12b6e1 build bundles 2024-08-09 14:08:07 +04:00
ec996fabf4 build bundles 2024-08-08 19:40:55 +04:00
93caa27367 build bundles 2024-08-08 14:56:42 +04:00
0b41b5aa7c build bundles 2024-08-08 14:46:14 +04:00
7ed14683a1 build bundles 2024-08-07 18:56:40 +04:00
97652c12fe Merge pull request from tursodatabase/lucio/0.5.0-libsql
libsql: release v0.5.0
2024-08-07 14:19:45 +00:00
9d15ebf077 Merge pull request from tursodatabase/vector-search-fix-vacuum
fix behaviour of VACUUM for vector indices to make rowid consistent between shadow tables and base table
2024-08-06 20:00:54 +00:00
a4af6c6455 Merge pull request from tursodatabase/vector-search-fix-error-handling
Vector search fix error handling
2024-08-06 11:08:14 +00:00
2115277f8c fix bug 2024-08-06 14:51:32 +04:00
853143d77b build bundles 2024-08-06 13:48:21 +04:00
fbde879196 libsql-ffi: Update bundled SQLite sources
Mechanical update:

```console
cd libsql-ffi && LIBSQL_DEV=1 cargo build
```
2024-08-06 12:31:51 +03:00
4c223c7785 use lower bits only because with sqlite3_extended_result_codes on we will get more detailed error codes 2024-08-05 16:03:21 +04:00
a68f042914 libsql: release v0.5.0 2024-08-02 09:26:28 -07:00
5c4f79fac4 sqlite: update multiciphers gen c code 2024-08-01 08:38:02 -07:00
c03c00b77e Merge pull request from penberg/merge-sqlite-3.45.1-new
Merge upstream SQLite 3.45.1
2024-08-01 09:09:15 +00:00
7dacca2728 bump rust version, fix warnings 2024-07-31 22:47:53 +02:00
18dd30e30a build bundles 2024-07-29 11:56:09 +04:00
1006f3bfe3 build bundles 2024-07-26 22:59:33 +04:00
f5062f49cf build bundles 2024-07-26 18:56:21 +04:00
86624ef6f3 build bundles 2024-07-25 19:28:36 +04:00
fd328a7d7e libsql-ffi: Update bundled SQLite sources 2024-07-25 13:46:36 +03:00
ccc9f58d51 fix dump and vacuum of vector indices ()
* fix dump and vacuum of vector indices

* fix comment a bit

* build bundles

* slightly improve test

* review fixes

* build bundles
2024-07-25 07:26:41 +00:00
537a3095be set error to pParse and preserve internal invariant about possible error inside the condition ()
* set error to pParse and preserve internal invariant about possible error inside the condition

* fix potential memory leak

* slightly adjust code

* small fix

* avoid pKey leak and simplify code

* build bundles
2024-07-24 13:38:56 +00:00
5e6afb386d Vector search respect db idx ()
* propagate schema name (iDb) for vector index to support working not only with main DB

* add basic test

* sometimes zDbSName can be null and this is fine

* avoid test from writing files to disk

* build bundles
2024-07-22 18:29:11 +00:00
37fc1a1d88 integrate diskann to the sqlite code ()
* integrate diskann to the sqlite code

* cleanup code a bit and add more comments

* make parsing code resilient to spaces inside FLOAT typename

* fixup

* fix bugs related to deletes in diskann

* small cleanup

* rename macro

* slightly cleanup vtab code

* slightly improve vectorIndex code

* make code less hacky

* add strange test

* build bundles

* return unit test for diskann pieces

* add one more test

* don't run search on first insertion

* review fixes

* disable index creation in non-normal parse modes

* build bundles
2024-07-19 16:57:11 +00:00
3263c19246 Vector diskann impl ()
* actuall diskann implementation (finally!)

* add more comments

* fix compilation

* fix bugs with aborted blobs

* fix field name after refactoring

* build bundles

* remove binary

* avoid quadratic inserts and deletes from node edges

* build bundles

* fix bug

* build bundles
2024-07-18 09:59:17 +00:00
e2d12b0ac1 Vector aux functions ()
* implement auxilary functions for vector index

* fix some render method names

* build bundles

* review fixes

* build bundles
2024-07-17 08:11:38 +00:00