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
jussisaurio
40aa081ec2
Conditionally disable rusqlite benchmark
2024-07-17 11:52:17 +03:00
Pekka Enberg
a0c92f6d80
Switch to workspace versioning
2024-07-17 08:39:36 +03: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
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
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
Bennett Clement
1df2ee6683
Fix real explain format
2024-07-16 13:29:47 +08:00
Bennett Clement
7858c350c5
Reintroduce overwritten optimization
2024-07-16 08:51:41 +08:00
Bennett Clement
4d077cf3e5
Implement std::cmp::PartialOrd for OwnedValue
2024-07-16 08:32:14 +08:00
Bennett Clement
fdf77cee2b
Merge branch 'main' of github.com:benclmnt/limbo into feat/where-and
2024-07-16 08:10:24 +08: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
Bennett Clement
f955187b70
Implement where and
2024-07-15 23:36:35 +08:00
Bennett Clement
d1288cacef
Implement where and
2024-07-15 23:19:46 +08:00
jussisaurio
d1eded0e90
Test with sqlite3 executable in CI as well
2024-07-15 17:27:04 +03: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
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
0f0b88cbe7
Merge pull request #140 from benclmnt/feat/improve-explain-comments
2024-07-14 08:10:37 +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
jussisaurio
b288ac2b89
Optimize where clause bytecode
2024-07-14 01:30:09 +03:00
jussisaurio
851aea212d
add coalesce(), refactor/rename add_label()
2024-07-13 23:03:56 +03:00
Pekka Enberg
9458522164
Merge pull request #134 from Ramkarthik/add-group-concat
2024-07-13 20:28:11 +03:00
Pere Diaz Bou
7601045122
core: clear references on resolve
2024-07-13 19:04:00 +02:00
Pere Diaz Bou
d0f37969ce
core: matrix of labelsXinsnref instead of hashmap
2024-07-13 18:54:33 +02:00
Pere Diaz Bou
be387eb31c
core: labels system and limit refactor
...
Signed-off-by: Pere Diaz Bou <pere-altea@hotmail.com >
2024-07-13 18:54:33 +02:00
Ramkarthik Krishnamurthy
5dff56d18a
Fixes it for both sides of the operator
2024-07-13 14:53:16 +05:30
Ramkarthik Krishnamurthy
0f7c88f5ad
Fixes truncation of trailing zeros when converting float to string
2024-07-13 14:49:18 +05:30
Bennett Clement
30e4a70d07
ignore wasm compilation target
2024-07-13 15:17:18 +08:00
Ramkarthik Krishnamurthy
59c6429555
Fix invalid column names in aggregate function
2024-07-13 11:47:59 +05:30
Bennett Clement
26152e07e5
Use kqueue for Darwin IO
2024-07-13 09:44:03 +08:00
Ramkarthik Krishnamurthy
dddc0be88f
Some refactoring
2024-07-13 02:46:37 +05:30
Ramkarthik Krishnamurthy
a303e6ad96
Implements string_agg and extends group_concat to work with column delimiters
2024-07-13 02:13:28 +05:30
Ramkarthik Krishnamurthy
9268560a51
Implements group concat aggregate function
2024-07-13 00:55:40 +05:30
김선우
6aabd919da
Fix typo
2024-07-12 23:19:44 +09:00
Pekka Enberg
f1bca597cb
Merge pull request #121 from jussisaurio/where-clauses
...
Basic where clause support
2024-07-12 08:21:38 +03:00