0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2025-05-22 06:38:18 +00:00
Commit Graph

11 Commits

Author SHA1 Message Date
be1fca578f feat(vector): add basic functions (vector/vector_extract etc) ()
* add basic functions for working with f32/f64 vectors

* add header file

* fix comment style

* add generic code for working with vectors

* register vector functions

* fix edge cases in vector extract impl

* add static flag for vector (will be used later)

* add basic TCL-based tests

* guard vector functions with SQLITE_OMIT_VECTOR

* adjust build scripts

* delete libsql_vector_idx from this branch

* add one more test

* update bundles

* fix asserts

* fix constants (#define-s are universal but const int doesn't recognized by all compilers)

* update bundles

* review fixes

* build bundles

* add comment about linking math library
2024-07-08 08:27:33 +00:00
e349a06961 Make libsql-ffi's build more friendly to sandboxed environments. ()
fix: prevent out_path from inheriting the mode of source bindgen.rs
2024-06-18 12:55:36 +00:00
d178de8f07 bugfix: reset modifications of sqlite3_vtab ()
* Remove `libsql_module` field from `sqlite3_vtab`

* remove `libsql_module` struct

Also removed the associated functions `libsql_create_module_v2`, `libsql_create_module` functions'.

The `libsql_module` had a function `xPreparedSql` which is now moved to `sqlite_module`. The `sqlite_module` might get changed in the upstream, so added some padding space for our custom functions

* generate ffi bindings

* Add a github workflow to test crsqlite

* fix crsqlite: remove `pLibsqlModule` references

* Add tests for sqlite-vss extension
2024-02-15 18:18:30 +00:00
682d42783d fix missing define for cases where we build a loadable rather than static libsql extension 2023-12-21 15:08:39 -05:00
f42bd234c6 pull in latest cr-sqlite changes 2023-12-21 15:05:06 -05:00
7a3723663b tweaks to get compiling again after libsql updates 2023-12-12 09:58:03 -05:00
28bb1bc621 update cr-sqlite to v0.16.2 2023-12-12 09:46:49 -05:00
02a5af3040 move libsql specific vtab methods to fix 2023-11-17 11:10:33 -05:00
a9481c8326 remove unused deps 2023-10-30 17:26:20 +01:00
a55c84f33c ext/crr: update to 0.15.1 of cr-sqlite
Based on https://github.com/tursodatabase/libsql/pull/434
and rebased.
2023-10-18 13:46:23 +02:00
bf899d0b9a restructure repository 2023-10-16 13:58:16 +02:00