sqlx/tests/sqlite
tyrelr f960d5bc3b
Sqlite explain graph (#3064)
* convert logger to output a query graph

* avoid duplicating branch paths to shrink output graph

* separate different branching paths

* include all branches which found unique states

* track the reason for ending each branches execution

* track the result type of each branch

* make edges rely on history index instead of program_id, to avoid errors when looping

* add state diff to query graph

* drop redundant table info

* rework graph to show state changes, rework logger to store state snapshots

* show state on the previous operation

* gather duplicate state changes into clusters to reduce repetition

* draw invisible connections between unknown instructions by program_i

* clean up dot format string escaping

* add test case from #1960 (update returning all columns)

* add tests for #2939 (update returning only the PK column)

* allow inserting into a table using only the index

* improve null handling of IfNull, fix output type of NewRowId

* add NoResult nodes for branches which don't log a result, as a sanity check

* add short-circuit to all logging operations

* remove duplicate logging checks, and make logging enabled/disabled consistently depend on sqlx::explain instead of sqlx for capture & sqlx::explain for output

* add failing test for awkwardly nested/filtered count subquery

* handle special case of return operation to fix failing test

* require trace log level instead of using whatever log level  statement logging was configured to use
2024-05-31 12:57:54 -07:00
..
fixtures feat: implement testing utilities (#2001) 2022-08-02 14:38:12 -07:00
migrations feat: implement testing utilities (#2001) 2022-08-02 14:38:12 -07:00
migrations_reversible fix: ensure migration progress is not lost for PG, mysql and sqlite (#1991) 2022-09-12 17:52:04 -07:00
migrations_simple fix: ensure migration progress is not lost for PG, mysql and sqlite (#1991) 2022-09-12 17:52:04 -07:00
.gitignore Is tests/x.py maintained? And I tried fix it. (#2754) 2023-10-19 14:54:01 -07:00
any.rs breaking(sqlite): always use i64 as intermediate when decoding (#3184) 2024-04-13 16:59:13 -07:00
derives.rs preparing 0.5.8 release (#1466) 2021-10-01 14:45:25 -07:00
describe.rs Sqlite explain graph (#3064) 2024-05-31 12:57:54 -07:00
error.rs 0.7.0-alpha.1 release 2023-02-21 14:56:54 -08:00
macros.rs breaking(sqlite): always use i64 as intermediate when decoding (#3184) 2024-04-13 16:59:13 -07:00
migrate.rs fix: ensure migration progress is not lost for PG, mysql and sqlite (#1991) 2022-09-12 17:52:04 -07:00
setup.sql feat: better database errors (#2109) 2023-02-21 13:25:25 -08:00
sqlcipher.rs fix(ci): just cfg-out the whole tests/sqlite/sqlcipher.rs 2024-03-05 18:33:56 -08:00
sqlite.db Add client SSL authentication using key-file for Postgres, MySQL and MariaDB (#1850) 2023-02-21 13:25:25 -08:00
sqlite.rs feat: add raw_sql API (#3007) 2024-02-18 15:38:23 -08:00
test-attr.rs Break drivers out into separate crates, clean up some technical debt (#2039) 2023-02-21 13:25:25 -08:00
types.rs feat: Text adapter (#2894) 2023-11-22 17:06:47 -08:00