pedrocarlo
46f59e4f0f
add more instrumentation + add faults to shrunk plan
2025-07-07 11:53:45 -03:00
pedrocarlo
7c8737e292
do not shadow + continue the assertion on injected fault error
2025-07-07 11:53:45 -03:00
pedrocarlo
7c10ac01e6
do_allocate_page should return a Result
2025-07-07 11:53:45 -03:00
pedrocarlo
e32cc5e0d1
fix query shadowing in faulty query
2025-07-07 11:53:45 -03:00
pedrocarlo
711b1ef114
make all run_once be run under statement or connection so that rollback is called
2025-07-07 11:51:25 -03:00
pedrocarlo
5559c45011
more instrumentation + write counter should decrement if pwrite fails
2025-07-07 11:50:21 -03:00
pedrocarlo
b69472b5a3
pass correct change schema to step rollback
2025-07-07 11:50:21 -03:00
pedrocarlo
7ec47e90cc
turn off tracing by default so that errors are not printed in the cli env is not set
2025-07-07 11:50:21 -03:00
pedrocarlo
89a81f9926
remove logging in test
2025-07-07 11:50:21 -03:00
pedrocarlo
9632ab0a41
rollback transaction when we fail in step
2025-07-07 11:50:21 -03:00
pedrocarlo
897426a662
add error tracing to relevant functions + rollback transaction in step_end_write_txn + make move_to_root return result
2025-07-07 11:50:21 -03:00
pedrocarlo
d82b526a5c
fix infinite loop with write counter
2025-07-07 11:50:21 -03:00
pedrocarlo
5f9abb62c4
enable faulty query
2025-07-07 11:50:21 -03:00
Pekka Enberg
4a3b0bcf42
Merge 'Import subset of SQLite TCL tests' from Pekka Enberg
...
This implements a subset of SQLite TCL tests. Let's start fixing errors
and then import more tests!
The test cases are imported from SQLite 3.50.2.
Refs #62
Closes #1980
2025-07-07 17:20:32 +03:00
KaguraMilet
566151c533
make clippy happy
2025-07-07 21:30:38 +08:00
KaguraMilet
ac95758f76
feat(vector): integrate euclidean distance into limbo
2025-07-07 21:11:51 +08:00
KaguraMilet
d49707a80d
feat(vector): implement euclidean distance calculation
2025-07-07 21:11:51 +08:00
Pekka Enberg
989fdca6e3
testing/sqlite3: Import function TCL tests
2025-07-07 15:41:38 +03:00
Pekka Enberg
53070d74a4
testing/sqlite3: Import JOIN TCL tests
2025-07-07 15:41:38 +03:00
Pekka Enberg
790b0da97c
testing/sqlite3: Import INSERT statement TCL tests
2025-07-07 15:41:38 +03:00
Pekka Enberg
c26adcdeb4
testing/sqlite3: Disable SELECT test that takes forever
2025-07-07 15:41:38 +03:00
Pekka Enberg
3c968df0b2
testing/sqlite3: Disable SELECT tests that require views
2025-07-07 15:41:38 +03:00
Pekka Enberg
38f3d213db
testing/sqlite3: Import SELECT statement TCL tests
2025-07-07 15:41:38 +03:00
Pekka Enberg
4206fc2e23
testing/sqlite3: Add TCL tester harness
2025-07-07 15:41:38 +03:00
Pekka Enberg
931a33642e
Merge 'add interactive transaction to property insert-values-select' from Pere Diaz Bou
...
Closes #1958
2025-07-07 14:29:02 +03:00
Pekka Enberg
f640298a6e
Merge 'add pere to antithesis' from Pere Diaz Bou
...
Closes #1984
2025-07-07 14:28:24 +03:00
Pekka Enberg
bcfb9df6f5
Merge 'cli: Add support for .headers command' from Pekka Enberg
...
The `.headers` command takes `on` and `off` as parameter, supported by
SQLite, which controls whether result set header is printed in list
mode.
Closes #1983
2025-07-07 14:28:17 +03:00
Pekka Enberg
3acd0b5097
antithesis: Install procps in Docker image
...
Having "ps" around is pretty helpful...
2025-07-07 13:58:11 +03:00
Pere Diaz Bou
cae3a9b54e
add pere to antithesis
2025-07-07 12:38:21 +02:00
Pekka Enberg
42c08b5bea
cli: Add support for .headers command
...
The `.headers` command takes `on` and `off` as parameter, supported by
SQLite, which controls whether result set header is printed in list mode.
2025-07-07 13:24:45 +03:00
Pekka Enberg
8d844c13da
Merge 'stress: add a way to run stress with indexes enabled' from Jussi Saurio
...
Previously all constraints were disabled with an `if false {}` hack.
In this PR:
- enable PRIMARY KEYs and UNIQUE constraints if `experimental_indexes`
compile-time feature is enabled.
- Also enable PRIMARY KEY for exactly INTEGER columns, as INTEGER
PRIMARY KEY does not require an index
- NOT NULL constraint is also now enabled in both cases, as it doesn't
require an index
Closes #1981
2025-07-07 13:18:10 +03:00
Pekka Enberg
4aa987d65c
Merge 'core/translate: Unify no such table error messages' from Pekka Enberg
...
We're now mixing different error messages, which makes compatibility
testing pretty hard. Unify on a single, SQLite compatible error message
"no such table".
Closes #1978
2025-07-07 13:17:59 +03:00
Jussi Saurio
0762c8f780
stress: add a way to run stress with indexes enabled
2025-07-07 13:04:52 +03:00
Nikita Sivukhin
1655c0b84f
small fixes
2025-07-07 12:50:10 +04:00
Nikita Sivukhin
3e7e66c0e7
add basic cdc tests
2025-07-07 12:44:50 +04:00
Pere Diaz Bou
f7c6d68435
fmt
2025-07-07 08:16:21 +00:00
Pere Diaz Bou
e34058c2d7
clippy
2025-07-07 10:14:40 +02:00
Pekka Enberg
7f91768ff6
core/translate: Unify no such table error messages
...
We're now mixing different error messages, which makes compatibility
testing pretty hard. Unify on a single, SQLite compatible error message
"no such table".
2025-07-07 11:10:46 +03:00
Pekka Enberg
99a23330a5
testing/glob.test: Run in-memory mode
...
Let's run the test case with in-memory mode to avoid the (unrelated) WAL
checksum errors that we're hitting.
2025-07-07 11:09:54 +03:00
Pekka Enberg
afa0052921
Merge 'sim: add feature flags (indexes,mvcc) to CLI args' from Jussi Saurio
...
Closes #1979
2025-07-07 10:58:21 +03:00
Jussi Saurio
ec939eaaa9
sim: add feature flags (indexes,mvcc) to CLI args
2025-07-07 10:27:15 +03:00
alpaylan
ea9c67a950
generate joins and unions
2025-07-07 02:54:48 -04:00
alpaylan
b0cf2ba92c
add paranthesis to the unary expression printer
2025-07-06 14:58:29 -04:00
alpaylan
2124cc41c0
enable indexes
2025-07-06 14:51:20 -04:00
alpaylan
0bce68b38d
wip: add joins to the select
2025-07-06 14:46:38 -04:00
Nikita Sivukhin
1ee475f04a
rename pragma to unsable_capture_data_changes_conn
2025-07-06 22:32:42 +04:00
Nikita Sivukhin
a10d423aac
adjust schema
2025-07-06 22:30:57 +04:00
Nikita Sivukhin
62c1e38805
small fixes
2025-07-06 22:26:34 +04:00
Nikita Sivukhin
32fa2ac3ee
avoid capturing changes in cdc table
2025-07-06 22:24:35 +04:00
Nikita Sivukhin
a988bbaffe
allow to specify table in the capture_data_changes PRAGMA
2025-07-06 22:19:32 +04:00