Pere Diaz Bou
c808863256
test update with index
2025-05-01 11:44:23 +03:00
Pere Diaz Bou
e503bb4641
run_query helper for test_write_path
2025-05-01 11:36:29 +03:00
Pere Diaz Bou
63a94e7c62
Merge 'Emit IdxDelete instruction and some fixes on seek after deletion' from Pere Diaz Bou
...
Previously `DELETE FROM ...` only emitted deletes for main table, but
this is incorrect as we want to remove entries from index tables as
well.
Closes #1383
2025-04-28 09:13:54 +03:00
Pere Diaz Bou
b7970a286d
implement IdxDelete
...
clippy
revert op_idx_ge changes
fmt
fmt again
rever op_idx_gt changes
2025-04-24 16:23:34 +02:00
Jussi Saurio
48071b7ad7
tests/fuzz/compound_index_seek: order select cols by definition order
2025-04-23 17:34:32 +03:00
Jussi Saurio
517390a4ea
tests/fuzz/compound_index_seek: show which table had failed query
2025-04-23 16:57:43 +03:00
Timo Kösters
68d8b86bb7
fix: get name of rowid column
2025-04-22 08:46:37 +02:00
Jussi Saurio
8477ff0d3d
tests/fuzz: amend compound index key fuzz to include nonindexed columns some of the time
2025-04-18 15:13:13 +03:00
Jussi Saurio
95bc644244
tests/fuzz: make compound key fuzz test a bit stricter with ordering
2025-04-16 14:10:25 +03:00
Jussi Saurio
8757510606
test/fuzz: revamp compound key seek fuzz test to include desc indexes and be more efficient
2025-04-16 13:58:12 +03:00
Jussi Saurio
1141cbaf3b
logical_expr_fuzz: add primary keys to test table to detect issues w index usage
2025-04-12 11:12:48 +03:00
Jussi Saurio
3d1b4c5292
test/fuzz: modify compound index scan fuzz to utilize both pk columns in where clause
2025-04-10 15:06:18 +03:00
Jussi Saurio
d9bae633c0
Add rowid_seek_fuzz() test
2025-04-09 10:14:29 +03:00
Jussi Saurio
431ef2fa6a
Add TCL/differential fuzz tests for verifying index scan behavior
2025-04-09 10:14:29 +03:00
Pere Diaz Bou
587cdac2c1
ignore sequential write beause it takes too long
2025-03-29 22:26:29 +01:00
Pere Diaz Bou
a13b33fec9
clippy again
2025-03-29 22:07:43 +01:00
Pere Diaz Bou
d9f5cd870d
clippy
2025-03-29 22:04:08 +01:00
Pere Diaz Bou
ee55116ca6
return row as reference to registers
2025-03-29 22:04:08 +01:00
Pere Diaz Bou
bf37fd3314
wip
2025-03-29 22:02:49 +01:00
Pere Diaz Bou
01cdcf719c
remove ignored from sequential tests
2025-03-28 11:30:19 +01:00
Pere Diaz Bou
dc8acf1a4a
cell_get no allocations
2025-03-28 11:12:27 +01:00
Pere Diaz Bou
d01423df83
fix clippy
2025-03-27 17:54:32 +01:00
Pere Diaz Bou
004dc374b2
bump rusqlite to 0.34
2025-03-25 14:17:31 +01:00
Pere Diaz Bou
be3badc1f3
modify a few btree log level and add end_write_txn after checkpoint
2025-03-12 15:48:22 +01:00
Pekka Enberg
c660ac5c68
tests/integration: Ignore failing overflow tests
...
...let's add them back when the bugs are fixed.
2025-03-12 13:31:33 +02:00
Pekka Enberg
96175cccf7
cli: Add --experimental-mvcc option to enable MVCC
2025-03-06 10:16:42 +02:00
Pere Diaz Bou
e4d22a22df
ignore test again :)
2025-03-05 22:32:59 +01:00
Pere Diaz Bou
3492ed4641
remove unused import Add
2025-03-05 22:32:59 +01:00
Pere Diaz Bou
7b1e2093e8
add multi threaded test for simple writer/reader test
2025-03-05 22:32:59 +01:00
Pere Diaz Bou
a79b3f5746
remove unused imports test_wal.rs
2025-03-05 15:52:10 +01:00
Pere Diaz Bou
5c0d44d0d8
test_wal conditional setup tracing
2025-03-05 15:42:04 +01:00
Pere Diaz Bou
262c4de548
add line number and thread id to tracing logs
2025-03-05 15:36:47 +01:00
Pere Diaz Bou
9a01e32c01
add tracing_subscriber and test_log::test
...
I don't know when and why we dropped log::* in favor of tracing but when it was done, it made relevant logs not appear any more while debugging so... I added test_log::test which helps by automatically adding info logs from trace package.
2025-03-05 15:36:06 +01:00
Pere Diaz Bou
17bf67e8a9
Add first multi threaded test which fails.
2025-03-05 14:07:48 +01:00
Pere Diaz Bou
8daf7666d1
Make database Sync + Send
2025-03-05 14:07:48 +01:00
Pekka Enberg
19a348c91a
Merge 'Print seed for failed fuzz tests' from Pedro Muniz
...
Reviewed-by: Preston Thorpe (@PThorpe92)
Closes #1047
2025-03-04 10:25:47 +02:00
Pekka Enberg
936ae307b7
core: Kill value type
...
We currently have two value types, `Value` and `OwnedValue`. The
original thinking was that `Value` is external type and `OwnedValue` is
internal type. However, this just results in unnecessary transformation
between the types as data crosses the Limbo library boundary.
Let's just follow SQLite here and consolidate on a single value type
(where `sqlite3_value` is just an alias for the internal `Mem` type).
The way this will eventually work is that we can have bunch of
pre-allocated `OwnedValue` objects in `ProgramState` and basically
return a reference to them all the way to the application itself, which
extracts the actual value.
2025-02-26 10:57:45 +02:00
pedrocarlo
521d4d85ca
adding seed to output of failed tests
2025-02-19 14:23:09 -03:00
alpaylan
39b11812ea
bump rusqlite to 0.33.0 from 0.29.0
2025-02-18 15:13:15 -05:00
Jussi Saurio
55ff1d2061
remove comment
2025-02-17 10:59:04 +02:00
Jussi Saurio
7eaa3f4da0
Extract variable
2025-02-17 10:58:38 +02:00
Jussi Saurio
6940ca84bd
Add more column <op> column binary op possibilities to fuzzer
2025-02-17 10:57:58 +02:00
Jussi Saurio
e07007896f
tests/fuzz: use mostly the same expression options in select and predicate position
2025-02-17 07:43:09 +02:00
Nikita Sivukhin
0679357fda
insert numbers from different categories in order to cover cases of different serial type usage
2025-02-16 12:33:26 +04:00
Nikita Sivukhin
77d4bb6e0e
fix after merge
2025-02-15 23:00:30 +04:00
Nikita Sivukhin
db7544fe7a
Merge branch 'tursodatabase:main' into fix-and-predicate
2025-02-15 22:57:56 +04:00
Nikita Sivukhin
becc58565d
run IO in fuzz tests
2025-02-15 22:48:01 +04:00
Jussi Saurio
01f51a4c20
Merge 'Fix math binary' from Nikita Sivukhin
...
Fix codegen for binary functions and add fuzz test for math functions
(we need to compile `rusqlite` with `-DSQLITE_ENABLE_MATH_FUNCTIONS` in
order to bundle sqlite with math functions compiled)
Reviewed-by: Jussi Saurio (@jussisaurio)
Closes #1015
2025-02-15 18:17:08 +02:00
Nikita Sivukhin
3233d60bea
trying to debug hungs in CI
2025-02-15 18:03:29 +04:00
Nikita Sivukhin
e7c501a3be
add simple fuzz test with table data
2025-02-15 16:27:11 +04:00