meteorgan
5da21fe275
add some tests for pragma cache_size
2025-06-05 17:17:21 +08:00
meteorgan
a242bac340
Fix: ensure PRAGMA cache_size changes persist only for current session
2025-06-05 16:55:41 +08:00
Anton Harniakou
90f34643c3
Implement .database property
2025-06-05 10:00:06 +03:00
Anton Harniakou
1adaa927e6
Add tests
2025-06-05 09:59:20 +03:00
Anton Harniakou
f78bc1efe5
Support sqlite_master schema table name
2025-06-04 18:32:51 +03:00
pedrocarlo
3c1b984b78
use table_references for PlanContext
2025-06-04 12:06:43 -03:00
pedrocarlo
22d1a1eaa8
fix blob printing
2025-06-04 12:06:43 -03:00
pedrocarlo
ebee9516ba
clippy
2025-06-04 12:06:43 -03:00
pedrocarlo
5f379fe2d6
when no context is needed use Display Impl
2025-06-04 12:06:43 -03:00
pedrocarlo
bfc8cb6d4c
move display and to_sql_string impls to separate modules for plan
2025-06-04 12:06:43 -03:00
pedrocarlo
f90bebbfbc
small fix and remove dbg
2025-06-04 12:06:43 -03:00
pedrocarlo
fa0dff9843
Fix rebase changes
2025-06-04 12:06:43 -03:00
pedrocarlo
a96577529e
impl ToSqlString for Update Plan
2025-06-04 12:06:43 -03:00
pedrocarlo
d243d1015c
impl ToSqlString for Delete Plan
2025-06-04 12:06:43 -03:00
pedrocarlo
ff5aa17769
impl ToSqlString for CompoundSelect Plan
2025-06-04 12:06:43 -03:00
pedrocarlo
51014d01c3
impl ToSqlString for SelectPlan
2025-06-04 12:06:43 -03:00
pedrocarlo
6773dca595
impl ToSqlString for VACUUM stmt + tests
2025-06-04 12:06:43 -03:00
pedrocarlo
d86ff4dea3
impl ToSqlString for UPDATE stmt + tests
2025-06-04 12:06:42 -03:00
pedrocarlo
659ef8fcf7
impl ToSqlString for REINDEX, RELEASE, ROLLBACK, SAVEPOINT stmt + tests
2025-06-04 12:06:42 -03:00
pedrocarlo
e9cbd29dd1
impl ToSqlString for PRAGMA stmt + tests
2025-06-04 12:06:42 -03:00
pedrocarlo
260a26d612
impl ToSqlString for INSERT stmt + tests
2025-06-04 12:06:42 -03:00
pedrocarlo
5710976d95
impl ToSqlString for DROP INDEX, TABLE, TRIGGER, and VIEW stmt
2025-06-04 12:06:42 -03:00
pedrocarlo
8ff0a3c780
impl ToSqlString for DETACH stmt
2025-06-04 12:06:42 -03:00
pedrocarlo
0dc5ca668c
test for DELETE + fixes
2025-06-04 12:06:42 -03:00
pedrocarlo
3b1da29b50
impl ToSqlString for DELETE stmt
2025-06-04 12:06:42 -03:00
pedrocarlo
6ba6fae2c6
CREATE VIRTUAL TABLE tests
2025-06-04 12:06:42 -03:00
pedrocarlo
c8f9e29262
impl ToSqlString for CREATE VIRTUAL TABLE stmt + fixes
2025-06-04 12:06:42 -03:00
pedrocarlo
563ab2fdf3
impl ToSqlString for CREATE VIEW stmt + tests
2025-06-04 12:06:42 -03:00
pedrocarlo
87b9540b4a
test for create trigger + fixes
2025-06-04 12:06:42 -03:00
pedrocarlo
a22d06cd66
impl ToSqlString for CREATE TRIGGER stmt
2025-06-04 12:06:42 -03:00
pedrocarlo
ba215c8ba9
test for create table + fixes
2025-06-04 12:06:42 -03:00
pedrocarlo
8a7cc7669d
impl ToSqlString for CREATE TABLE stmt
2025-06-04 12:06:42 -03:00
pedrocarlo
a8f5257240
impl ToSqlString for CREATE INDEX stmt
2025-06-04 12:06:42 -03:00
pedrocarlo
b47e3a990e
impl ToSqlString for COMMIT stmt
2025-06-04 12:06:42 -03:00
pedrocarlo
4f736daa7c
impl ToSqlString for BEGIN stmt
2025-06-04 12:06:42 -03:00
pedrocarlo
2a2132e479
impl ToSqlString for Attach stmt
2025-06-04 12:06:42 -03:00
pedrocarlo
355e9a2c96
impl ToSqlString for analyze stmt
2025-06-04 12:06:42 -03:00
pedrocarlo
43b1d4f5da
alter table tests + fixes
2025-06-04 12:06:42 -03:00
pedrocarlo
7fb3d40ec2
implement ToSqlString for AlterTable
2025-06-04 12:06:42 -03:00
pedrocarlo
e0c2a09d71
more tests for select + fixes
2025-06-04 12:06:42 -03:00
pedrocarlo
5b6ed60133
simpler select tests + fixes to printing
2025-06-04 12:06:42 -03:00
pedrocarlo
fb01541708
impl ToSqlString for Select
2025-06-04 12:06:42 -03:00
pedrocarlo
0b0e724f54
implement ToSqlString for Expr
2025-06-04 12:06:42 -03:00
pedrocarlo
1dc73bc49e
initial stubs for ast::Select
2025-06-04 12:06:42 -03:00
pedrocarlo
2ac2990b4c
to_sql_string trait definition
2025-06-04 12:06:42 -03:00
Diego Reis
3a17bf7186
bind/java: Throw in case of yet unsupported Linux on arm64
2025-06-04 10:41:19 -03:00
Anton Harniakou
45fe13f226
Implement .name property
2025-06-04 13:00:13 +03:00
Anton Harniakou
ac33dbb63a
Add tests
2025-06-04 11:48:16 +03:00
Pekka Enberg
9f17be8162
Merge 'simulator: log the interaction about to be executed with INFO' from Jussi Saurio
...
I think this is useful to see, without having to drop down to DEBUG and
seeing all the other stuff.
Closes #1655
2025-06-04 10:20:54 +03:00
Pekka Enberg
7376284895
Merge 'simulator: add CREATE INDEX to interactions' from Jussi Saurio
...
Adds CREATE INDEX as a potential interaction.
Kudos to @alpaylan - I've been sleeping on the simulator a bit lately --
incredibly easy to add new stuff here
Closes #1656
2025-06-04 10:15:48 +03:00