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
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
Pekka Enberg
9fc48315cc
testing: coalesce.test
2024-07-16 07:20:35 +03:00
Pekka Enberg
04b96a3d6c
testing: join.test
2024-07-16 07:20:34 +03:00
Jussi Saurio
15619e06f4
Merge pull request #152 from pereman2/and-or
...
core: implement AND and OR + complex conditions.
2024-07-15 21:44:52 +03:00
Pekka Enberg
ecacf8bfa1
Merge pull request #156 from pereman2/fix-typo
2024-07-15 21:07:30 +03:00
Pere Diaz Bou
881c12026f
README: fix typo
...
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com >
2024-07-15 20:00:38 +02:00
Pere Diaz Bou
a2fc38be62
Merge pull request #149 from penberg/faq
...
Add FAQ entry about Limbo and libSQL
2024-07-15 19:57:39 +02:00
Pere Diaz Bou
0a7d0588d7
core: implement AND and OR + complex conditions.
...
this also fixes NULL print to empty string
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com >
2024-07-15 19:42:12 +02:00
Pekka Enberg
449ab40853
Add FAQ entry about Limbo and libSQL
2024-07-15 19:03:55 +03:00
Pekka Enberg
a485aefb52
Merge pull request #145 from jussisaurio/gha-sqlite-test
2024-07-15 17:31:33 +03:00
jussisaurio
d1eded0e90
Test with sqlite3 executable in CI as well
2024-07-15 17:27:04 +03:00
Pekka Enberg
95ec1ad733
Update docs
2024-07-15 08:38:29 +03:00
Pekka Enberg
4751820b2b
testing: Move test harness to tester.tcl
...
Move the generic test harness part into a separate file.
2024-07-15 08:19:21 +03:00
Pere Diaz Bou
6febadfcfb
Merge pull request #143 from jussisaurio/inner-join
...
Inner join, table aliases, qualified column names
2024-07-14 19:25:30 +02:00
jussisaurio
ea793e4126
Inner join, table aliases, qualified column names
2024-07-14 20:09:40 +03:00
Pekka Enberg
99a6ca4f2f
Merge pull request #142 from imor/clippy_fixes
2024-07-14 20:00:10 +03:00
Pekka Enberg
d41717c1bc
Merge pull request #141 from benclmnt/optimize-literal-in-loop
...
Optimize literal in loop
2024-07-14 18:33:18 +03:00
Bennett Clement
72f1cdd5c4
Fix pr comments
2024-07-14 23:03:01 +08:00
Raminder Singh
e4a9c5ce6e
fix clippy warnings
2024-07-14 16:50:54 +05:30
Bennett Clement
a85f47310c
Move where clause literal out of loop
2024-07-14 14:00:25 +08:00
Bennett Clement
e9647bf425
Fix comments display
2024-07-14 13:50:21 +08:00
Pekka Enberg
5b8de891e2
Merge pull request #139 from ethanniser/add-nix-flake
2024-07-14 08:10:57 +03:00
Pekka Enberg
0f0b88cbe7
Merge pull request #140 from benclmnt/feat/improve-explain-comments
2024-07-14 08:10:37 +03:00
Pekka Enberg
0281bccabf
Merge pull request #138 from jussisaurio/optimize-where
2024-07-14 08:09:39 +03:00
Bennett Clement
d64733c0b9
Improve explain comments
...
- Resolve cursor ID to table name and get column name from index
- Since we change the type of BranchOffset to i64, add assertions in
Program.step() function
- opcode generation compatibility with sqlite: change register number to start from 1
- Improve Column,Rowid comment, Add DecrJumpZero comment, Fix Integer
comment
- Fix typos in code comments
2024-07-14 11:35:22 +08:00
Ethan Niser
a817f9c168
add nix flake
2024-07-13 17:07:13 -07:00
jussisaurio
b288ac2b89
Optimize where clause bytecode
2024-07-14 01:30:09 +03:00
Pekka Enberg
95f5ddd621
Merge pull request #136 from jussisaurio/labeling-system-coalesce
2024-07-13 23:38:13 +03:00