Releases: risinglightdb/sqllogictest-rs
Releases · risinglightdb/sqllogictest-rs
Release: v0.15.1
- fix
statement error
unexpectedly passed when result is a successfulquery
. Similarly for expectedquery error
but successfulstatement ok
.
Release: v0.15.0
- Allow multiple connections to the database in a single test case, which is useful for testing the transaction behavior. This can be achieved by attaching a
connection foo
record before the query or statement.- (parser) Add
Record::Connection
. - (runner) Breaking change: Since the runner may establish multiple connections at runtime,
Runner::new
now takes aimpl MakeConnection
, which is usually a closure that returns a try-future of theAsyncDB
instance. - (bin) The connection to the database is now established lazily on the first query or statement.
- (parser) Add
Release: v0.14.0
- We enhanced how
skipif
andonlyif
works. Previously it checks againstDB::engine_name()
, andsqllogictest-bin
didn't implement it.- (parser) A minor breaking change: Change the field names of
Condition:: OnlyIf/SkipIf
. - (runner) Add
Runner::add_label
. Now multiple labels are supported (DB::engine_name()
is still included). The condition evaluates to true if any of the provided labels match theskipif/onlyif <lable>
. - (bin) Add
--label
option to specify custom labels.
- (parser) A minor breaking change: Change the field names of
Release: v0.13.2
Runner::update_test_file
properly escapes regex special characters.
Release: v0.13.1
- Support postgres options.
Release: v0.13.0
sqllogictest-bin
now uses the strict validator to update records (the runner still doesn't check schema).- The query syntax now allows optional columns (
query\n
without any column arguments).
Release: v0.12.0
- customizable column types and validators
Release: v0.11.2
- support multiple files as input in cli
- remove unnecessary debug
Release: v0.11.1
- fix parsing for trailing comments
Release: v0.11.0
This release contains some minor fixes.
- fix: use
Vec<Vec<String>>
for external engine (JDBC) - fix: Use
lines()
instead ofsplit('\n')
inparse_inner
. So the behavior can be correct on Windows. - fix: parse DML with
returning
as a query - A minor breaking change:
update_test_file
takes&mut Runner
instead of its ownnership.