Commit Graph

462 Commits

Author SHA1 Message Date
Pekka Enberg
3a46ca7d1c Update CHANGELOG.md 2024-07-18 08:17:31 +03:00
Pekka Enberg
188ecf8593 Merge pull request #151 from gvos94/graghura/lock-files 2024-07-17 22:11:47 +03:00
gandeevanr
c391b7b9a6 implemented the drop trait for all the limbo_core::File implementations 2024-07-17 11:34:47 -07:00
gandeevanr
9ef212edd3 Added support to disallow multiple processes from opening the same database file in linux and darwin 2024-07-17 11:34:47 -07:00
Pekka Enberg
a6369982fe Enable cargo dist explicitly for the CLI only 2024-07-17 20:23:41 +03:00
Pekka Enberg
5d94dc2b63 Wrap installation command to multiple lines
Make it more readable.
2024-07-17 17:01:55 +03:00
Pekka Enberg
eee140939a Add installation instructions to README 2024-07-17 17:00:27 +03:00
Pekka Enberg
013b634c5f Fix cargo dist install target path 2024-07-17 16:51:01 +03:00
Pekka Enberg
088315c720 Merge pull request #176 from penberg/sqlite3-improvements 2024-07-17 14:01:35 +03:00
Pekka Enberg
af7b8b6768 sqlite3: Implement some auxiliary functions
This adds `sqlite3_libversion()`, `sqlite3_libversion_number()`, and
`libsql3_threadsafe()`.
2024-07-17 13:00:35 +03:00
Pekka Enberg
a08051b106 sqlite3: Disable tests that SIGSEGV with sqlite3 on x86 2024-07-17 12:59:54 +03:00
Pekka Enberg
4efa6e5efa sqlite3: API function tracing 2024-07-17 12:59:54 +03:00
Pekka Enberg
8fb50cc9bc sqlite3: Auto initialize in sqlite3_open() 2024-07-17 12:34:29 +03:00
Pekka Enberg
d81a346d74 sqlite3: Implement sqlite3_{initialize,shutdown}
They're no-ops for now.
2024-07-17 12:34:29 +03:00
Pekka Enberg
80fc9bacf1 sqlite3: Fix test linking 2024-07-17 12:34:17 +03:00
Pekka Enberg
3e73694370 build: Add sqlite3 API tests to make test 2024-07-17 12:13:45 +03:00
Pekka Enberg
54feddabed sqlite3/tests: Add missing test-prepare.c 2024-07-17 12:13:45 +03:00
Jussi Saurio
58260a356a Merge pull request #175 from jussisaurio/conditional-disable-rusqlite-bench
Conditionally disable rusqlite benchmark
2024-07-17 11:57:43 +03:00
jussisaurio
40aa081ec2 Conditionally disable rusqlite benchmark 2024-07-17 11:52:17 +03:00
Pekka Enberg
6f00a406dd 0.0.1 2024-07-17 08:40:32 +03:00
Pekka Enberg
a0c92f6d80 Switch to workspace versioning 2024-07-17 08:39:36 +03:00
Pekka Enberg
f3585e4a45 Configure cargo dist for the project 2024-07-17 08:34:13 +03:00
Pekka Enberg
cf85baf6fc simulator: Disable package publishing
The simulator is for testing purposes only. Disable publishing to avoid
`cargo dist` from picking it up.
2024-07-17 08:31:29 +03:00
Pekka Enberg
c984877ac9 Merge pull request #172 from ethanniser/improve-flake 2024-07-17 07:42:11 +03:00
Ethan Niser
5c8719175d improve nix flake by moving to fenix 2024-07-16 19:52:39 -07:00
Pekka Enberg
ad70a240d4 Merge pull request #147 from benclmnt/feat/where-and 2024-07-16 21:35:01 +03:00
Pekka Enberg
ae7bfe1d05 Merge pull request #170 from benclmnt/read-index-from-disk
Read raw bytes for index btree pages
2024-07-16 20:38:50 +03:00
Pekka Enberg
c42647c352 Merge pull request #171 from pereman2/translate-ref
core: use references to ast instead of hard copies
2024-07-16 20:36:04 +03:00
Pere Diaz Bou
01b96abbac core: use references to ast instead of hard copies
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com>
2024-07-16 18:48:05 +02:00
Bennett Clement
9bb15c5788 Read raw bytes for index btree pages 2024-07-17 00:38:35 +08:00
Pekka Enberg
43a764381e Merge pull request #167 from JoanFM/validate-io-urint-result
core: validate result from CQ
2024-07-16 15:53:33 +03:00
Joan Martinez
b4cd8e39b5 core: validate result from CQ 2024-07-16 14:08:49 +02:00
Pekka Enberg
b7599abd2c Merge pull request #166 from penberg/fix-io-uring
Fix io_uring support on older Linux kernels
2024-07-16 14:51:14 +03:00
Pekka Enberg
207ec5ce92 core: Enable direct I/O optimistically
...but keep going if the filesystem does not support it. Fixes Limbo on
older Linux kernels that have io_uring but don't support direct I/O on
all filesystems, such as tmpfs or encryptfs.
2024-07-16 14:48:38 +03:00
Pekka Enberg
44d189668b Update docs 2024-07-16 14:43:18 +03:00
Jussi Saurio
e3211b11ff Merge pull request #165 from benclmnt/like
Implement LIKE
2024-07-16 14:27:24 +03:00
Pekka Enberg
812a8b9ea2 core: Switch io_ring to Readv and Writev
The Readv and Writev opcodes are available on all Linux kernel versions
so let's switch to them.
2024-07-16 14:24:12 +03:00
Bennett Clement
3c4f2b07e6 Respect jump_if_true in like implementation 2024-07-16 18:17:37 +08:00
Bennett Clement
6f983702c3 Refactor if/ifnot implementation 2024-07-16 16:36:30 +08:00
Bennett Clement
05558527af Implement like in where clause 2024-07-16 15:55:33 +08:00
Bennett Clement
2f738e0c8b Implement like function 2024-07-16 15:23:52 +08:00
Pekka Enberg
7fa8f5c62e Add benchmarks for prepare() 2024-07-16 08:44:49 +03:00
Pekka Enberg
4cb90eaef3 Merge pull request #160 from benclmnt/fix-real-explain-format
chore: fix REAL explain format
2024-07-16 08:37:04 +03:00
Bennett Clement
1df2ee6683 Fix real explain format 2024-07-16 13:29:47 +08:00
Bennett Clement
b6c0bf57dc Fix conflicts 2024-07-16 13:16:24 +08:00
Pekka Enberg
c629aa02e2 Merge pull request #157 from penberg/compat-test-cleanup
Clean up compat tests
2024-07-16 07:27:01 +03:00
Pekka Enberg
190e5844e7 testing: select.test 2024-07-16 07:26:44 +03:00
Pekka Enberg
fbe71cc1d7 testing: pragma.test 2024-07-16 07:24:28 +03:00
Pekka Enberg
ce1efa35eb testing: agg-functions.test 2024-07-16 07:24:28 +03:00
Pekka Enberg
75e72a4926 testing: where.test 2024-07-16 07:24:28 +03:00