Skip to content

Commit

Permalink
test: transactions are not supported and throw exceptions, do not att…
Browse files Browse the repository at this point in the history
…empt

the test target had a failure because of this line, it passes without it
and the underlying implementation specifically says it is not supported,
so seems the correct thing to simply not attempt the transaction

originally transactions were supported but support was removed in
commit d0f6610

unit tests have never been run in CI apparently, so this issue was latent
  • Loading branch information
mikehardy authored and david-allison committed Apr 2, 2024
1 parent aa23fc2 commit 5ab4e14
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class CollectionCreationTest {
val backend = getBackend()
backend.openCollection(":memory:")
val database = withRustBackend(backend)
database.beginTransaction()
try {
val ver = database.query("select * from col")
check(ver.moveToFirst()) { "no rows" }
Expand Down

0 comments on commit 5ab4e14

Please sign in to comment.