39 Commits

Author SHA1 Message Date
Valery Antopol
13a62f2b10
fix: fix use-after-free when using sqlite_bind_text/sqlite_bind_blob with sqlite_step (#24) 2023-12-25 07:01:37 +03:00
raftedproc
258b8d11b6
fix: bind_text and bind_blob string arguments clean up (#18) 2023-04-06 13:42:33 +03:00
Mike Voronov
c1fa069dcb
feat!: add workaround for wasi-libc reactor/command model (#13)
* feat: add workaround for wasi-libc reactor/command model
2023-02-24 00:57:22 +03:00
raftedproc
5f3121395c
fix: xDel special semmantics patch (#10)
Sqlite has a number of special custom memory deallocators, namely SQLITE_STATIC and SQLITE_TRANSIENT. Sqlite calls noop freeing memory with the special deallocators.
    Sqlite virtual tables, e.g. FTS5 implicitly creates aux tables. There are number of SQLITE_STATIC allocated empty lines or 0 size blobs that were previously freed with free. This free op spoils sqlite virtual table state  and renders VT unusable [fixes VM-239]
2023-02-17 16:04:24 +03:00
Roman Nozdrin
216ca8f958 feat: this bumps sqlite up to 3.40.1 [fixes VM-223] 2023-02-14 10:56:53 +00:00
Mike Voronov
19d85ba7a5
Merge pull request #5 from fluencelabs/fix_bwu
fix BWU compatibility
2021-09-03 17:43:33 +03:00
vms
807d6ff47d fix of fix 2021-09-03 13:50:33 +03:00
vms
5b9324916d fix BWU compatibility 2021-09-03 13:49:23 +03:00
vms
71080d772d fix 2021-09-03 13:43:58 +03:00
vms
f3a435616a use hardcoded free instead of xDel 2021-09-03 12:07:15 +03:00
vms
f23126d37e switch to BWU1 2021-04-22 19:48:39 +03:00
vms
932bfb38a1 final preparation 2021-04-12 14:45:55 +03:00
vms
2150b81cf6 some updates 2021-04-12 13:06:14 +03:00
vms
0820036f56 use cvector 2021-04-12 12:30:51 +03:00
vms
af0ac14818 more changes 2021-04-12 11:40:33 +03:00
vms
38fb596f7c the first part of moving to the sdk 0.6.0 2021-04-12 00:15:26 +03:00
vms
c6e4a30f40 enable WASI 2021-03-04 14:04:48 +03:00
vms
5660a45c22 uncomment stuff in memdb 2021-03-03 15:13:00 +03:00
vms
1765640d12 add demo vfs 2021-03-03 15:07:51 +03:00
vms
cb62ab800e fix sqlite3_bind_blob 2021-01-28 00:13:52 +03:00
vms
4179ccd6f9 fix blob/text setters and getters 2020-11-09 04:39:38 +03:00
vms
df5cbd0b0f make Dockerfile compatible with fce 0.1.11 2020-11-08 18:30:24 +03:00
vms
43bd1080a2 make compatible with sqlite-wasm-connector 2020-09-17 21:20:05 +03:00
vms
483c82e02c add IT support 2020-09-15 14:35:03 +03:00
vms
e39cf0d2ff fix off-by-one in returning OK string 2020-05-02 18:19:25 +03:00
vms
72e9311c97 getting rid of excess imports
since https://github.com/rust-lang/rust/issues/63562 fixed
2020-04-29 00:24:20 +03:00
vms
8960e72d3b update to the latest ABI 2020-04-28 21:58:11 +03:00
vms
584cb18795 introduce the ENABLE_LOG macro 2020-04-17 23:28:01 +03:00
vms
3dc83269a5 move to the new sdk 2020-04-17 23:19:01 +03:00
vms
eaa210ca74 fluencenicize 2020-04-17 20:44:55 +03:00
vms
a913ff21f0 update sqlite to version 3.31.1 2020-04-17 20:27:28 +03:00
vms
af798f02a8 apply fmt to Makefile 2019-08-17 17:06:23 +03:00
vms
2ca09f634a add more comments 2019-08-16 12:58:24 +03:00
vms
485b69a948 introduce ENABLE_LOG macro 2019-08-16 12:36:08 +03:00
vms
90b08c0780 update readme 2019-08-14 22:16:32 +03:00
vms
24978af696 better multimodules support for Rust backend 2019-08-14 17:58:50 +03:00
vms
99df17e96c add support of multi-module projects 2019-08-01 15:34:43 +03:00
vms
0d38bd3a72 port SQLite fork to wasm 2019-07-19 15:12:49 +03:00
vms
bff864a802 add the original sqlite-preprocessed-3290000 2019-07-19 14:58:08 +03:00